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
rvt has quit [Ping timeout: 256 seconds]
rvt_ has joined #openscad
ricekot has quit [Quit: Connection closed for inactivity]
tcurdt has quit [Ping timeout: 240 seconds]
J22522 has joined #openscad
J225 has quit [Ping timeout: 252 seconds]
ur5us_ has quit [Ping timeout: 252 seconds]
tcurdt has joined #openscad
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
ur5us_ has joined #openscad
J22522 has quit [Quit: Client closed]
ur5us_ has quit [Ping timeout: 248 seconds]
J22 has joined #openscad
Guest28 has joined #openscad
Guest28 has quit [Quit: Client closed]
<gbruno> [github] kberkut opened issue #4259 (Does transparency work incorrectly or is it intended that way?) https://github.com/openscad/openscad/issues/4259
hiredman has quit [Ping timeout: 246 seconds]
pah_ has quit [Ping timeout: 256 seconds]
pah has joined #openscad
ricekot has joined #openscad
toluene has quit [Ping timeout: 260 seconds]
toluene has joined #openscad
To_Aru_Shiroi_Ne has joined #openscad
ToAruShiroiNeko has quit [Ping timeout: 260 seconds]
rvt has joined #openscad
DrCadair has joined #openscad
<Cadair> Hello all. I have a model which I want to run the minkowski transform on to curve the edges, it's linearly extruded from a 2D shape. The issue is that it takes forever, looking closely at the model where I have done some differences etc it looks like there are a lot more edges that there really needs to be. I was wondering if anyone had any suggestions on tricks to help, or reduce the number of edges in a model.
<Cadair> This the duplication of edges I am talking about
DrCadair has quit [Client Quit]
Ckat has quit [Read error: Connection reset by peer]
Guest51 has joined #openscad
<Scopeuk> Cadair do you want to addcurving to the top and bottom or just the edges visible in the 2d projection?
<Scopeuk> there is offset for 2d which is much faster, but almost certainly the minkowski is slow is caused by the many edges issue you already identified
<Cadair> Yeah only the top and bottom edges
<Scopeuk> you could try reducing $fn/$fs for the circles the base is made from
<Scopeuk> I also suspect this would like the fast csg stuff that is in the nightly's but that is using the development version
<Scopeuk> depending on your desired end result it may be much faster to make the 2d profile of the circles and then rotate_extrude them and assemble
<Scopeuk> something like https://pastebin.com/raw/8HtJmVrH
Guest51 has quit [Quit: Client closed]
<Scopeuk> https://pastebin.com/raw/twvNQJZi is closer to your shape (render took a long time)
<Cadair> Oh thanks, let me have a play
<Cadair> I realised I didn't actually send a photo of the complete model.
<Cadair> Is there a way to scale the model as you linear extrude it to create the taper on the top and bottom?
<Cadair> I also don't mind running the nightlies, is the "fast csg stuff" you mention rendering performance improvements?
<Scopeuk> I tried it and it didn't help as much as I expected in this case
<Scopeuk> I don't believe linear extrude has any ability to perform tapers directly
<Scopeuk> no I stand correct there is a scale paremeter
<Scopeuk> I'm not familiar with its use
<Cadair> Yeah I was just playing with scale
<Cadair> I don't think it will do what I wish
<Cadair> I don't want to scale the whole model, just the edges
<Scopeuk> in this case I mean the scale paremeter to linear extrude
<Cadair> yeah
<Scopeuk> ahh ok
<Cadair> I wonder, if I linearly extruded the holes and the body separately and then differenced them I might be able to make it work
<Cadair> but that sounds like a pain
<Cadair> I might compile the dev branch on my main PC and then just let the thing run the slow way lol
<Scopeuk> the dev branch snapshots are available for download
<Cadair> Unfortunately it looks like the AUR git package is broken :(
<Cadair> an appimage will do nicely
<Cadair> thanks
<Cadair> I love that someone has compiled openscad to wasm :D
<Scopeuk> yeh there is an online portal for it someone created with an editor and an stl viewer
rvt has quit [Quit: rvt]
<Scopeuk> any extra features in the dev snapshots have to be enabled in preferences -> features
<Cadair> ah
<Scopeuk> https://ochafik.com/openscad/ for the web asm fun
<Cadair> That is great 😀
<Cadair> I bet my model with the minkowski would destroy firefox 🤣
<Scopeuk> minkowski does that to everything
<Scopeuk> there are some libraries for openscad that provide a lot of smoothed basic shaped using other methods which are much lighter will be on https://openscad.org/libraries.html somewhere but I forget which of the regulars created the particular one
rvt has joined #openscad
<InPhase> Yeah, smooth prim is one of mine. Each entry is pretty compact in that approach, and thus usable as-is, or as a copy/paste example.
<InPhase> There are faster methods for many of those which are more involved to implement, but that's intentionally a simple-example library. But I'd be happy to swap any entries out with another compact straightforward example which is demonstrated as more efficient.
<InPhase> I'm intentionally avoiding things like polyhedron implementations in there.
<Cadair> Does it implement the smoothed holes as it were, so I could remove a smoothed cylinder from the base shape?
<InPhase> Yeah, the example image has both a rounded and chamfered smoothed hole.
<InPhase> Although looking at your link of what I did, I don't know why I did it that way. It looks like a rotate_extrude of a 2D constructed hole would have been more efficient.
<InPhase> Something to poke at on a weekend. :)
<Scopeuk> I suppose rotate extruding a "cookie cutter" with the right profile to differenc is quite easy
rvt has quit [Quit: rvt]
<J22> yeah make  8 ×  a rotate_extrude translate([10,0]) offset(5)square([2,10],true);
<Scopeuk> well that was a fdun exercise https://pastebin.com/rSeHdugV
<Scopeuk> know there might be a cleaner way to construct the 2d portion
<Scopeuk> always forget offset
* Scopeuk goes stright to 3d way too often
<J22> probably you also could hull something around Ü
<J22> Haha prusa contest "last meter"  print under 5m  ..   like all of my prints are likely to not exceed 3m
<Scopeuk> so I had a play https://pastebin.com/raw/mxuKSUcZ oddly swapping the hard 40 at the bottom for inner_radius*2 breaks it
<Scopeuk> ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.
linext has quit [Ping timeout: 248 seconds]
linext has joined #openscad
rvt has joined #openscad
rvt has quit [Quit: rvt]
KimK has quit [Ping timeout: 246 seconds]
rvt has joined #openscad
KimK has joined #openscad
rvt has quit [Quit: rvt]
fling has quit [Ping timeout: 240 seconds]
<gbruno> [github] MichaelPFrey pushed 3 modifications (tab order improved) https://github.com/openscad/openscad/commit/14bc40cf3d6ca33d79f3059631a2e48183c7435f
fling has joined #openscad
feep has quit [Ping timeout: 252 seconds]
<lf94> Any noteable openscad models lately? :D
<lf94> (Yes, I still lurk and watch you guys!)
rvt has joined #openscad
rvt has quit [Quit: rvt]
feep has joined #openscad
Ckat has joined #openscad
<J22> lf94 if you would watch - you wouldn't ask  Ü  .. https://www.printables.com/social/167780
<lf94> If I knew where to watch, I wouldn't ask ;)
<lf94> Thank you! Seems you've been really busy
<lf94> Incredible the work you've done
<J22> Thanks Ü
<lf94> Like wow, this is what I strive to do in the future
<lf94> Your gear work is very very cool
<J22> and i have a big spreadsheet with all possible ratios for reasonable gear sizes
<J22> (cuz i have no idea how to calculate the gears for a specific ratio as there are two unknowns in the formular)
<J22> remembers me i still haven't tried it a shoe laces ( but the X gear prints are lying here)
muesli has quit [Quit: NO CARRIER]
rvt has joined #openscad
muesli has joined #openscad
rvt has quit [Quit: rvt]
rvt has joined #openscad
feep has quit [Ping timeout: 240 seconds]
feep has joined #openscad
castaway has quit [Ping timeout: 248 seconds]
castaway has joined #openscad
little_blossom_ has quit [Ping timeout: 240 seconds]
little_blossom has joined #openscad
rvt has quit [Quit: rvt]
rvt has joined #openscad
rvt has quit [Quit: rvt]
ur5us_ has joined #openscad
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #openscad
ur5us_ has quit [Ping timeout: 248 seconds]
ricekot has quit [Quit: Connection closed for inactivity]
ur5us has joined #openscad
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #openscad