arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
russnelson has quit [Remote host closed the connection]
russnelson has joined #openscad
af has quit [Ping timeout: 268 seconds]
af has joined #openscad
nelson_ has joined #openscad
russnelson has quit [Read error: Connection reset by peer]
gyha has joined #openscad
<gyha>
hello guys. i'm running into a problem when extruding a imported 2d vector file (.DXF): i'm able to perform boolean functions on it and i linear_extrude() it and it renders fine. but as soon as i only do as much as add another unrelated shape (e.g. a sphere) somewhere else: then preview still works ok, but render fails... :/
<gyha>
ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.
<gyha>
when i import a .DXF with way easier geometry it works fine though. is there any way to validate the vector file before use in openscad?
<gyha>
thanks i'll try that. regarding the thrown-together view: how do i just "compile"?
<Jack21>
if your polygon is self intersecting you get problems if that 3D object should have additional operations - you can also check the rendered version with a program like meshmixer or some meshlab
<Jack21>
just F5 preview (without having show edges on)
<gyha>
it's done using inkscape and i'm currently looking into ways to find (and fix) self intersections
<Jack21>
you said you can extrude this - so render and save this to see what went wrong
<Jack21>
i just had a case where the outside looked nice but inside was intersecting structures causing problems
Holger has joined #openscad
Holger has quit [Client Quit]
Holger22 has joined #openscad
<Holger22>
Moin
<Holger22>
I have the problem that sometime the preview does not work. Render shows the expected results, but preview is somehow zomm factor related wrong.
<Holger22>
Any hints? (latest openscad, windows, latest graphics drivers, at least what I new).
<Jack21>
use "view all" i am not sure i understand your problem
<Jack21>
in the status bar you see the view rotation translation distance and field of view ( $vpt $vpr $vpd and $vpf ) also maybe switch orthogonal view or perspective
<Holger22>
https://ibb.co/TvXvnGN is an example. If I zoom out it suddenly is ok (but very small, so I would like to zoom more into it)
<teepee>
Is there a difference of a huge object somewhere?
<teepee>
preview in perspective mode has problems if the camera is inside such objects even if they don
<Jack21>
maybe try that cube symbol (orthografic view)
<teepee>
't show themself due to difference
<Holger22>
teepee YES! I use some huge blocker cubes to only see/work/print the part I need.
ciphersalad is now known as fling
<Jack21>
using view=1 ; and if(view==1)cube(); etc .. may help to organize
<teepee>
gyha: depending on the 2d shape adding a tiny offset can help cleaning up selfintersections: offset(0.001) import("file.svg");
<teepee>
Holger22: if it's not possible to give a smaller estimation for that cube, maybe intersection could help as this covers the part to actually show
<teepee>
or as Jack21 said, use some condition to switch. a slightly more elaborate version: https://pastebin.com/gFzrBC34
<Holger22>
teepee how to use intersection? My "build code" is only "difference() { M11G95ME(); translate([40,40,0]) blocker(20,20); } "
<Jack21>
teepee is it possible that "view edges" in thrown together view is not working and also can't get anything with F11
<Holger22>
if i put a intersection around that it does not help
<teepee>
it would need a cube to intersect with the part you want to see instead of the part to hide
<teepee>
I think for disabling whole modules the suggestion from Jack21 with using a conditional is much clearer
<Jack21>
( you can't limit the difference module with an intersection)
<Holger22>
i need to understand intersection.... wait a minute, please
<Jack21>
if using "true" and "false" you can use the customizer with checkboxes
<teepee>
that works with numbers too :)
<Jack21>
you can have a checkbox with numbers?
<teepee>
show_part = 1; // [1:TOP, 2:BOTTOM]
<teepee>
or just using the strings
<Holger22>
teepee THANKS for the intersection. I totally missed that and it does exactly what I want. I can get rid of all the blocking code... now i'm a little less stupid.
<gyha>
regarding the thrown-together view in combination with my .DXF: i see specks of pink all around the lower edge of my extruded graphic. when i zoom in they move around. i wonder if that's just a displaying issue or if there's actually something wrong with my model...?
<Jack21>
however maybe there are two objects on the same space and one has inverted face normals (pink) and you see Z- Fighting
qeed has quit [Ping timeout: 264 seconds]
<Jack21>
teepee that F11 issue had to do with the color scheme after i switched back and forth it is now working ( and it think i lost my colors i was familiar with)
<teepee>
oh, hmm
gyha has quit [Ping timeout: 256 seconds]
<Jack21>
and not working .. that is crazy (but think i found my colors again)
<Jack21>
and working again .. wtf
Holger22 has quit [Quit: Client closed]
arebil has joined #openscad
<Jack21>
Ok it seems you need to have 2 Objects rendered to get wireframe view .. a new window with one object doesn't until i add a second object - then i can remove one and still working
<Jack21>
no you definately need 2 objects rendered
Holger22 has joined #openscad
<Holger22>
Oh, and might I suggest a editor feature (stolen from notepad++): when selecting a word, highlight all the same words with a slightly different color, too.
<Jack21>
if you "find" selected - it is doing that
<Jack21>
select one and hit ctrl+f
<Holger22>
I know. but the automatic is way more convienient.
<Jack21>
i am not sure i would like that - if you select a number or "union()" you get a Chrismas tree
<Jack21>
but Holger22: you know you can use an external editor and only open the main window of oscad and it will refresh when the document changed
<Alicia>
you will just need to enable Design->Automatic Reload and Preview for that
ferdna has joined #openscad
Colt has quit [Quit: Leaving]
<Holger22>
its the way most editors handle the highlighting nowadays. VS, VSC, notepad++. So "user expectation" might be on an automatic mode. just saying.
<Jack21>
alicia just was looking for it in settings and failed - Ü thx
nelson_ has quit [Remote host closed the connection]
nelson_ has joined #openscad
<Jack21>
iirc oscad is scintilla based
Holger22 has quit [Quit: Client closed]
<teepee>
yes, specifically qscintilla
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
<JakeSays>
i have no sense of proportion. i built a light fixture that has 20 leds in it. the walls are 6mm thick. i'm pretty sure i could drive my truck over this thing and it wouldn't break