Hi Ronaldo:
Thanks. I plugged your code in and it works so far. But I'm needing to
re-slice the entire part. The base cutting was just a first draft so to
speak. I've reevaluated my original idea and that first draft will not
shorten the longest dimension of the original part. So I will see if I can
cut in a different place and still make a part that holds together. I'll
reply once I've had a chance to tinker with it.
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17528.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi Ronaldo:
Here is the revision I think will work for me to be able to print. Currently
I'm using the default T puzzle piece because naturally the thing won't
render and I can't clearly see the cuts with the other code. I'll want to do
this for both prints Cycl_XrightFrame.stl and Cycl_XrleftFrame.stl. Please
see attached.
Cycl_XleftFrame.stl
http://forum.openscad.org/file/n17536/Cycl_XleftFrame.stl
Cycl_XrightFrame.stl
http://forum.openscad.org/file/n17536/Cycl_XrightFrame.stl
puzzlecutdemo2-cut-test2.scad
http://forum.openscad.org/file/n17536/puzzlecutdemo2-cut-test2.scad
puzzlecutlib.scad http://forum.openscad.org/file/n17536/puzzlecutlib.scad
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17536.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
FourthDr wrote
naturally the thing won't render and I can't clearly see the cuts with the
other code.
Not sure if this is part of the problem but, add convexity=8 to you import
and it previews better.
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17541.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi MichaelAtOz:
I get this error when I added that code:
ERROR: Parser error in line 146: syntax error
ERROR: Compilation failed!
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17542.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Like this
import("Cycl_XleftFrame_fixed_ml.stl", convexity=8);
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17544.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi MichaelAtOz:
Definitely an improvement! Much more detail. It's a wonder it doesn't just
do that by default.
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17546.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi MichaelAtOz:
I've been searching around for something that can fix/repair SLT or the
original source format that the STL's for the mill came in. Not much luck on
the source files original format. But along the way I found an interesting
plugin for commercial CAD apps like AutoCAD and Solidworks etc. called
3dprinttech. Links below:
https://blog.adafruit.com/2014/07/31/split-large-designs-into-printable-parts/
http://labs.cctech.co.in/3dprinttech/
https://apps.autodesk.com/en/Detail/Index?id=7059401767782074929&appLang=en&os=Win32_64
Unfortunately, it is 3 years old and has not been updated. The companies
website no longer has a labs sub-domain and you can only download it from
the AutoCAD app store. I'm not going to run out and buy AutoCAD obviously
for a plugin that probably doesn't work with the latest version.
Would be neat if OpenSCAD could do that. With the exception of also being
able to create connectors other than pegs as my printer doesn't handle small
hole/pegs/pins accurately enough for that to work.
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17547.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
FourthDr wrote
I'll want to do this for both prints Cycl_XrightFrame.stl and
Cycl_XrleftFrame.stl. Please see attached.
Those two files have problems too. You probably could not puzzlecut them.
Have you tried to fix them with Netfabb or Meshlab? Sketchup was not helpful
this time. I have them fixed using Meshlab AND Netfabb site Torsten linked
above. Both are free.
Cycl_XleftFrame_fixed_ML.stl
http://forum.openscad.org/file/n17549/Cycl_XleftFrame_fixed_ML.stl
Cycl_XrightFrame_Sk_fixed.stl
http://forum.openscad.org/file/n17549/Cycl_XrightFrame_Sk_fixed.stl
I'm using the default T puzzle piece because naturally the thing won't
render and I can't clearly see the cuts with the other code.
A change in the dovetail code could provide a larger peg.
I've been searching around for something that can fix/repair SLT or the
original source format that the STL's for the mill came in. Not much luck
on
the source files original format.
https://en.wikipedia.org/wiki/STL_%28file_format%29
https://en.wikipedia.org/wiki/STL_%28file_format%29
Would be neat if OpenSCAD could do that. With the exception of also being
able to create connectors other than pegs as my printer doesn't handle
small
hole/pegs/pins accurately enough for that to work.
OpenSCAD already do that with a simple user code like puzzlecutlib.scad. No
reason to include it in the core. There is nothing fundamentally wrong with
puzzlecutlib.scad. The problems you had came from problematic stl's. For
this, there are tools out there.
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17549.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi Ronaldo:
Thanks for the fix. For future reference, what tools did you use to fix the
stl's? Other than netfabb/meshlab/sketchup are there any other useful
utilities you could recommend? You said yourself any one of those alone may
not find a problem or be able to fix a problem. Also, how did you actually
fix the stl files? Did you just use the automatic fix function or did you
have to go through a more elaborate repair procedure?
Now that I can actually render the files without errors, I have run into
another problem. The puzzlecutlib.scad simply slices the part in half and
places all the cuts on that one slice plain. It looks like I need some of
the cuts offset to avoid creating a thin peninsula in one area since the cut
goes the entire length of the width where I want to make a cut. Not sure if
I an explaining that clearly or not. See model.
puzzlecutdemo2-cut-test2.scad
http://forum.openscad.org/file/n17562/puzzlecutdemo2-cut-test2.scad
Cycl_XrightFrame_Sk_fixed.stl
http://forum.openscad.org/file/n17562/Cycl_XrightFrame_Sk_fixed.stl
puzzlecutlib.scad http://forum.openscad.org/file/n17562/puzzlecutlib.scad
--
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17562.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
If all you need is "for a 150mm^3 printing volume"
Why not cut it like so, each is <=100mm;
http://forum.openscad.org/file/n17563/puzzlecut.jpg
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/puzzlecutlib-rendering-problem-STL-export-error-Current-top-level-object-is-empty-tp17440p17563.html
Sent from the OpenSCAD mailing list archive at Nabble.com.