erectus has quit [Remote host closed the connection]
erectus has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
nomike has joined #openscad
<nomike>
Hi
<nomike>
I'm having an issue with a design. I'm importing an SVG file and I'm applying a liniear extrusion to it. A union combines it with a cube. F5 preview looks OK, F6 throws an "ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.".
<nomike>
If I remove the cube in line 2, it renders just fine. If I use the original star_fleet.svg, it renders just fine.
<nomike>
Any ideas?
<gbruno>
[github] kintel edited pull request #4822 (Rename --render=cgal to --render=force to force-convert to the current backend-specific geometry) https://github.com/openscad/openscad/pull/4822
<gbruno>
[github] kintel edited pull request #4822 (Rename --render=cgal to --render=force to force-convert to the current backend-specific geometry) https://github.com/openscad/openscad/pull/4822
<gbruno>
[github] kintel ready_for_review pull request #4822 (Rename --render=cgal to --render=force to force-convert to the current backend-specific geometry) https://github.com/openscad/openscad/pull/4822
<kintel>
nomike I think this is a bug. Your SVG is too detailed and something goes wrong when rendering it. Could you open a github issue with your example file and design?
<kintel>
..but I have two possible workarounds:
<kintel>
1. If you use a development snapshot: Enable Preferences->Feature->manifold
<kintel>
2. Use a tiny offset to force OpenSCAD to sanitize your imported SVG: offset(0.1) import(myfile)
<nomike>
Ahhh...and I was going crazy since yesterday evening, debugging for hours trying to understand whats going on. I thought I did something wrong in inkscape or didn't understand the process thoroughly. Sure, I will create am issue on github and I will try out your workaround and come back to you about it.
califax has quit [Remote host closed the connection]
califax has joined #openscad
<nomike>
The trick with the offset worked. Thanks a lot.
califax has quit [Remote host closed the connection]
<kintel>
pca006132 I've put together some manifold corner cases for testing. It all looks pretty good right now for 3MF I/O, but I have one puzzling failure with Manifold
<kintel>
This it a single polyhedron which touches itself; two faces from opposite sides of the volume touches. The vertices are separate, so it should be topologically a manifold
<kintel>
However, Manifold complains: ERROR: [manifold] Input mesh is not closed!
nomike has quit [Read error: Connection reset by peer]
L29Ah has joined #openscad
<pca006132>
kintel: I manually converted it to triangular mesh for manifold and it works, so I guess maybe there is something wrong during our conversion...
<pca006132>
for some reason there are 17 vertices in the triangle mesh... no idea why
<pca006132>
hmm, createMeshFromPolylSet may not return a closed mesh... and it will duplicate vertices in this case even though it does not really need to do so
<pca006132>
really weird
kintel has joined #openscad
<kintel>
pca006132 Thanks, yeah I briefly tested ManifoldCAD and realized it has to be triangles :) I'll try to follow the breadcrumbs..
<othx>
pca006132 linked to "spiral_extrude() by AKADAP" on thingiverse => 1 IRC mentions
<pca006132>
as well as the example you gave
<kintel>
Yeah, a bit uncertain where to start digging, especially considering I don't know the limitations of the CGAL tools we're using
<kintel>
Btw., do you think it makes sense to feed an imported/created PolySet directly to Manifold first, and only attempt CGAL repair/reorient if the initial creation fails?
<pca006132>
yeah it makes sense
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has joined #openscad
<kintel>
pca006132 Oh, I just realized that we use createMeshFromPolySet(), which just creates a vertex-based polygon soup and tries to orient it into a manifold..
<pca006132>
yeah, because currently we have no guarantee about if the PolySet is a valid manifold
<pca006132>
so we rely on CGAL to fix the mesh if possible
kintel has quit [Client Quit]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
TylerTork has joined #openscad
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
TylerTork has quit [Quit: Client closed]
pca006132 has quit [Remote host closed the connection]
<gbruno>
[github] kintel pushed 2 modifications (Update manifold to get TBB fix, print TBB version (#5009) * Update manifold to get TBB fix, print TBB version * Fix ORIGINAL_CMAKE_MODULE_PATH name collision between OpenSCAD and CGAL * Fall back to pkg-config if TBB wasn't found by find_package()) https://github.com/openscad/openscad/commit/378f98e004b1d65433ba659c113aabd434127aa0
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gbruno>
[github] kintel synchronize pull request #4822 (Rename --render=cgal to --render=force to force-convert to the current backend-specific geometry) https://github.com/openscad/openscad/pull/4822
<guso78k>
wondering, if its difficult to print gyroids ...
<Scopeuk>
gyroid is one of the modern slicer infill options
<guso78k>
yes, including cura :)
<guso78k>
still doing the slash/backslash infill
<guso78k>
my plan is to print it in macroscale instead of microscale
<guso78k>
for infill the quality and the faces of the gyroids is not very important
<Scopeuk>
I guess take cube, disable top/bottom/walls, set to gyroid, throw at printer
<guso78k>
not sure if you can configure the size of the gyroid filling ?
<Scopeuk>
I can't rememebr how it scales with object and/or %age
TheCoffeMaker has quit [Quit: So long and thanks for all the fish]
guso78k has quit [Quit: Client closed]
ledtape_bruno has joined #openscad
guso78k has joined #openscad
<ledtape_bruno>
Good evening, I could not find info related to changing the unit of measurement ( mm,mt, cm) on openscad.
<ledtape_bruno>
Is it possible to change on preferences?
<ledtape_bruno>
Thank you very much,
<Scopeuk>
Openscad does not have an internal unit, this is consistent with stl's where there is no defined unit
<Scopeuk>
most people make an assumption that one unit is one mm but it is arbitrary
<ledtape_bruno>
Thank you for your prompt reply; I need to 3d print a support piece, of precise size, for pinball machine replacement.
<Scopeuk>
ok, if you model in openscad assuming that 1 unit is 1mm this will match with every slicers default setting which makes the same assumption
<ledtape_bruno>
Thank you Scopeuk, very kind. Another doubt: can I change the settings of the file.stl in order to improve the surfaces of the part? (I use only $fn = 360)
<Scopeuk>
$fn sets the number of sides on circular primitives, generally $fa and $fs are recommended instead $fa sets the maximum angle of a straight portion and %fs sets the maximum length of a straight portion
<Scopeuk>
if that will help depends on the particular surface issue you are observing