Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STL output of iso-surfaces; new file input format, and possible bug fix. #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

RepRapLtd
Copy link

This is a really useful program - thanks!

I have added a new file input format (a tensor of floats), added ASCII STL as an output format, and maybe* found and fixed a bug in dualmc.tpp.

Best wishes

Adrian

*I could be wrong, though...

Adrian Bowyer added 6 commits August 12, 2019 18:19
The tensor file format is a list of floats separated by spaces:

xDimension yDimension zDimension minValue maxValue { (xDimension*yDimension*zDimension) function values } EoF

The first three numbers are the size of the tensor.  The second two are the maximum and minimum values of all the
numbers in the tensor, then there is a list of the values incrementing x fastest, then y, then z.

$ ./dmc -tensor MyTensorFile
…some quads. (I think.)

See the comment in the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant