Coder Social home page Coder Social logo

Comments (6)

winso2018 avatar winso2018 commented on July 28, 2024 1

not. if EncryptionSeed=0 - printer report "unknown format"
now i convert and test 17 cbddlp to ctb. all work fine

from uv3dp.

winso2018 avatar winso2018 commented on July 28, 2024

i compare 2 file _TEST_2018_01.ctb original and _TEST_2018_01XX.ctb converted by catibo-inspect
all found difference on pic
DIFF
left original - right converted
what to fix?

from uv3dp.

winso2018 avatar winso2018 commented on July 28, 2024

sorry, i analyse by catibo-inspect and found solution.
i minor update ctb/format.go with

header := ctbHeader{
	Magic:          defaultHeaderMagic,
	Version:        2,
	EncryptionSeed: 3092495361, // old = 0 // Force encryption off, so we can de-duplicate layers
}

.....
machineBase := slicerBase + uint32(slicerSize)
machine := "EPAX X1"
machineSize := len(machine)
......
// ctbSlicer
param.Unknown38 = 0x1234
slicer.MachineOffset = machineBase
slicer.MachineSize = uint32(machineSize)
slicer.EncryptionMode = 7 // old 0xf // Magic!
slicer.TimeSeconds = 26494107
slicer.ChiTuBoxVersion[0] = 1 // Magic!
slicer.ChiTuBoxVersion[1] = 6
slicer.ChiTuBoxVersion[2] = 4
slicer.ChiTuBoxVersion[3] = 3
slicer.Unknown34 = 0 // old 0x200 // Magic?
slicer.Unknown2C = 1 // OLD - NO. aNTIALIASING? // 2c: Always 1?
.....
now, converted file printable.
Thanks for code!!!

from uv3dp.

ezrec avatar ezrec commented on July 28, 2024

Thanks for the bug report!

Is it printable if EncryptionSeed=0, but keeping the rest of those changes?

(Which is what Iā€™d prefer, since it allows for much smaller file size for mechanical prints by using the same image for multiple layers)

from uv3dp.

ezrec avatar ezrec commented on July 28, 2024

Should be fixed in release v0.5.5

from uv3dp.

X3msnake avatar X3msnake commented on July 28, 2024

from uv3dp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.