teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
<InPhase> Av8r: Yeah. I'm sometimes too perfectionist about how code should look before I push it onto github, but it's good to fight against that instinct. Particularly for something with UI features, early feedback is super helpful. Different people will tend to poke a UI differently, and interpret it differently, so useful info tends to come back with that.
<InPhase> More than once I've released a UI and got useful feedback before it even did anything when you tried to interact with it. ;)
<linext> i designed some leatherman thumb tabs using openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #openscad
LordOfBikes_ has quit [Ping timeout: 248 seconds]
hrberg has quit [Ping timeout: 255 seconds]
hrberg has joined #openscad
LordOfBikes_ has joined #openscad
Guest27 has joined #openscad
Guest27 has quit [Client Quit]
Petar has joined #openscad
<Petar> hi everybody
<Petar> I've recently found my way to openscad because I have built a small CNC router and I am in the process of trying to figure out how to convert STL into layers of SVG files that can be used to cut out model in 1cm thick layers of foam
<InPhase> Welcome.
<InPhase> You could certainly achieve the task with openscad, particularly if you know how to do a little bash or python scripting to wrap up command line usage of openscad.
<Friithian> it's going to be hell to find and/or get working, but there's a standaloen program called slicer for fusion 360 which does this exact task
<InPhase> Petar: Some CNC tasks are actually quite challenging starting with OpenSCAD as a base, but slicing up an STL into svg files is pretty straightforward.
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
guerd871 has joined #openscad
guerd87 has quit [Read error: Connection reset by peer]
<HimeHaieto> funny, I found my way to openscad for professional sheet metal work - creating designs to send to a cnc manufacturer for production
<HimeHaieto> seems like most people use it more for 3d printing
<Petar> ok, I feel like I'm sold.. slicer for fusion 360 looks like it has great UI that can do some really awesome things, but downloading no longer available software that is likely going to be buggy just sounds like recipe for bad time.. if openscad can do the basic job reliably, then I'm happy to give it a try
<Friithian> it's a really good piece of entirely abandoned software :D
Petar has quit [Quit: Client closed]
ur5us has quit [Ping timeout: 260 seconds]
J23837553392 has joined #openscad
J238375533 has quit [Ping timeout: 260 seconds]
pbsds has quit [Ping timeout: 252 seconds]
pbsds has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
guso78 has joined #openscad
Petar has joined #openscad
<guso78> linext, great idea. unfortunatly i dont own a leathermen
<guso78> how much infill do you use? suppose the leathermean is by far more rigid than the plastic handle.
snaked has quit [Remote host closed the connection]
snaked has joined #openscad
Petar has quit [Quit: Client closed]
ur5us has joined #openscad
GNUmoon has quit [Ping timeout: 255 seconds]
GNUmoon has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
<Scopeuk> HimeHaieto interesting, how do you find the 2d stuff in openscad? it's one of the areas I've used least
<HimeHaieto> scopeuk: a bit awkward, like a number of other things tbh
<HimeHaieto> even more so when I have to deal with sheet metal manufacturing realities that aren't purely expressable via 2d like bends
<HimeHaieto> mixing 2d design and cutouts with rotate extrusions to join linear extrusions of different parts of the same sheets can feel a bit unnatural I suppose
<HimeHaieto> I've often found myself just designing 2d parts in 3d (ie everything is cubes of the same metal_thickness instead of linearly extruded squares) to make it feel a bit less off, but that just makes a new level of awkward
guso78 has quit [Quit: Client closed]
ur5us has quit [Ping timeout: 260 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
<HimeHaieto> oh, also handling notches can be especially annoying and I've yet to see any particularly nice way around it
<gbruno> [github] kberkut opened issue #4525 (Problems in the preview) https://github.com/openscad/openscad/issues/4525
<gbruno> [github] kberkut edited issue #4525 (Problems in the preview) https://github.com/openscad/openscad/issues/4525
<gbruno> [github] kberkut edited issue #4525 (Problems in the preview) https://github.com/openscad/openscad/issues/4525
hypera1r has quit [Ping timeout: 252 seconds]
Petar has joined #openscad
Petar has quit [Client Quit]
<gbruno> [github] t-paul edited issue #4525 (Problems in the preview) https://github.com/openscad/openscad/issues/4525
hyperair has joined #openscad
hyperair has quit [Remote host closed the connection]
hypera1r has joined #openscad
GNUmoon has quit [Ping timeout: 255 seconds]
GNUmoon has joined #openscad
hypera1r has quit [Read error: Connection reset by peer]
GNUmoon has quit [Ping timeout: 255 seconds]
GNUmoon has joined #openscad
<gbruno> [github] t-paul closed pull request #4524 (Python pr) https://github.com/openscad/openscad/pull/4524
<gbruno> [github] t-paul pushed 6 modifications (Python pr (#4524) Whitespace cleanup.) https://github.com/openscad/openscad/commit/f9a68ac4fd28b7cc28e7d55ce7cec3b230bba470
<gbruno> [github] t-paul synchronize pull request #4508 (OpenSCAD with a Python Engine (#4498)) https://github.com/openscad/openscad/pull/4508
hypera1r has joined #openscad
GNUmoon has quit [Ping timeout: 255 seconds]
GNUmoon has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
pa has quit [Ping timeout: 246 seconds]
guso78 has joined #openscad
<guso78> I just noticed the latest Issue with the convexity.
<guso78> For me convexis the opposite of concave. i'd like to understand the meaning of convexity as an integer number, to understand if there is a method to get the minimal required convexity number,  why its important to know and how its finally used in rendering.
<guso78> knowing openscad for many years now, i still dont know its meaning
<Scopeuk> guso78 I believe it is defined as the maximum number of times a ray passing through the object would be able to cross the object boundary
<guso78> very clear. you set the value as low as possible for performance reasons, if you set it too low, rendering might be wrong, am i right ?
<Scopeuk> that is my understanding
<guso78> Thx
<InPhase> Display only.
<guso78> Proably opencsg only
<guso78> teepee, i know  that you did " Rebased onto master to get the unrelated test case changes out of the PR."
<guso78> i am just wondering about the effect, if the python-support is based on master NOW, where was it based before ?
<teepee> I did not do that yet. It's always somehow based on master, "rebased" here would specifically mean based on the latest commit of master
<teepee> yes, convexity is a opencsg related only and technically represents the number of redraws for a primitive
<teepee> if it stops drawing too early in (screen) Z order it may leave "holes"
<teepee> IIRC it only relates to the SCS algorithm
<guso78> After all the algorithm of opencsg is very clever to use OpenGL and Z-buffer to display 3D objects fast with the power of the graphics card(without the computer power to render it first)
<teepee> yeah, switching to goldfeather at least does not show any issue with the example from the FAQ
<guso78> little lost. SCS is this https://en.wikipedia.org/wiki/Shortest_common_supersequence_problem and you adress it with "Normalizing the CSG Tree" ?
<teepee> https://www.opencsg.org/publications.html -> Both techniques optimize various CSG rendering algorithms, namely the Goldfeather and the layered Goldfeather algorithm, and the Sequenced-Convex-Subtraction (SCS) algorithm.
dalias has quit [Ping timeout: 255 seconds]
<guso78> very nice literature. I feel like reading this sometime in the evening.
<guso78> teepee, could you "rebase"  python-support branch again (to the/with the  master) . i  hope, that all/most of the "not understood"  files/artefacts will be gone.
dalias has joined #openscad
<teepee> yep
snaked has quit [Quit: Leaving]
guso78 has quit [Ping timeout: 260 seconds]
<JordanBrown[m]> It is necessary to set convexity high enough to avoid artifacts, but there is little penalty to setting it too high.
<JordanBrown[m]> It takes a remarkably complex model to get perceptible differences.
<JordanBrown[m]> As soon as I need to set it to more than 1, I set it to 10.
<JordanBrown[m]> That covers almost all models.
guso78 has joined #openscad
guso78 has quit [Ping timeout: 260 seconds]
Guest79 has joined #openscad
Guest79 has quit [Client Quit]
J23837553392 has quit [Ping timeout: 260 seconds]
<Av8r> teepee:  Code has been pushed to my Openscad fork, and I've updated https://github.com/openscad/openscad/issues/4143#issuecomment-1437209415
<teepee> cool, I saw the github notification mails
J23 has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
peeps[work] has joined #openscad
guso78 has joined #openscad
<lf94> what if scad only had one primitive: the box
<lf94> would the binary operations be way faster?
<lf94> for example, a sphere would just be a bunch of varied boxes
<lf94> the height of the boxes would be that of your print medium
<InPhase> Cellular automata modeling?
<lf94> there's a lot of you could do with just boxes I think
<InPhase> A 100mm diameter sphere would require 523.6 million 0.1mm activated boxes.
<InPhase> Grid patterning of a 230x200x170mm build volume in 0.1mm boxes requires 7.8 billion of them.
<guso78> if chip design was based on squares instead of intelligent scan line alfgorithm, we would need way more memory to develop ....
<InPhase> Although you can bit pack them because it's only on/off for a one-color design.
<InPhase> Although bit packing would require then at least 32 billion operations just to access and update things on this volume for one change.
<InPhase> So there are some scaling issues with it.
<InPhase> You would need something like a sparse-matrix style storage, but sparse/dense to get both parts.
<InPhase> And smart updates that only act on relevant parts to avoid huge wasted calculations.
<InPhase> On the plus side if you got everything into that structure with clear algorithms, it would be embarassingly parallel.
<lf94> InPhase: I meant like, the box doesnt need to be a cube
<lf94> it can be a long think rectangular prism
<lf94> thin
<J23> https://imgur.com/a/G9mwxrn    for the lazy if you don't want to create surfaces
<InPhase> lf94: And for your next trick, I'd like you to rotate by 10 degrees 36 times.
ur5us has joined #openscad
<lf94> J23: is that performant for you? i would love to hear "yes"
<lf94> InPhase: lol
<InPhase> lf94: If you can't immediately visualize the result, your box will necessarily break into thin slivers at the first rotation, and then the slivers will need to break further at each rotation, and eventually you'll get something like cellular automata representations (unless you routinely compactify again). But either way, you'll end up with a resulting box after the complete 360 degrees worth of
<InPhase> rotation that has super jagged edges which end up on the size scale of your smallest working box, and potentially sticking out by quite a few box widths at various points.
<J23> lf94  rendering was faster than thinking about how to create that surface as polyhedron
<lf94> fair :)
<lf94> what's the render speed on your machine?
<InPhase> lf94: So yes, maybe that's good in some cases! :) But... Some not at all.
<lf94> or preview
<lf94> InPhase: I'm just really tired of being stuck in code cad limbo.
<lf94> really tired
<lf94> I want to dedicate my life to one of these
<InPhase> lf94: I've spent a good bit of mental effort myself trying to think of other modalities. I've learned that I'm better at finding problems with them than solutions so far.
<lf94> openscad is the only thing I come back to
<lf94> because it has a real community
<lf94> my biggest gripe with openscad is it uses cgal.
<lf94> if we could come together and replace this...
<lf94> that little black matter in my head would evaporate
<InPhase> I give a fairness to CGAL in that it solves hard problems. While we recognize its limitations, there are ultimately reasons why it has been so hard to swap out.
<J23> lf94 you can try yourself https://bpa.st/6R5UA   took me 6sec to preview .. while view is smooth
<InPhase> J23: Aesthetically pleasing.
<lf94> like if boolean operations have to align with some sort of grid... cutting out boxes and making smaller boxes... I think something simpler could be made
<lf94> but of course you couldn't use it for anything else other than 3d printing
<lf94> which I guess sucks
<InPhase> J23: The output.... Not the source code. ;)
<InPhase> J23: Your artistic sense only goes to model results. ;)
<J23> ÜÜÜ
<J23> and i have to agree (regarding the source code)
<J23> this is write and never touch again code .. nobody should have to read this not even myself
snaked has joined #openscad
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
L29Ah has quit [Read error: Connection reset by peer]
noonien has quit [Quit: The Lounge - https://thelounge.chat]
L29Ah has joined #openscad
L29Ah has quit [Read error: Connection reset by peer]
gknux has quit [Ping timeout: 252 seconds]
gknux has joined #openscad
gknux has quit [Remote host closed the connection]
gknux has joined #openscad
L29Ah has joined #openscad
gknux has quit [Quit: ....and i am outta here....]
gknux has joined #openscad
gknux has quit [Ping timeout: 255 seconds]
escobear has joined #openscad
escobear is now known as gknux
greenbigfrog has quit [Ping timeout: 255 seconds]
greenbigfrog has joined #openscad
peeps[work] has quit [Ping timeout: 248 seconds]
pah has joined #openscad
pah has quit [Changing host]
pah has joined #openscad
pah is now known as pa
pa has quit [Ping timeout: 255 seconds]