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
Guest58 has joined #openscad
<Guest58> / Define the dimensions module castle_tower() { cylinder(h = 30, r1 = 10, r2 = 10, $fn = 100); translate([0, 0, 30]) cone(h = 20, r1 = 10, r2 = 0, $fn = 100); } module castle_wall() { cube([60, 10, 40]); for (x = [0:10:50]) { translate([x, 0, 40]) cube([10, 10, 10]); } } module castle_main() { difference() { cube([60, 60, 40]); for (x = [0:10:50])
<Guest58> for (y = [0:10:50]) { translate([x, y, 40]) cube([10, 10, 10]); } } } module castle_gate() { difference() { cube([60, 10, 20]); translate([20, 0, 0]) cube([20, 10, 10]); } } // Assemble the castle translate([10, 10, 0]) castle_main(); translate([10, 10, 40]) cube([40, 40, 20]); for (x = [0, 50]) for (y = [0, 50]) translate([x, y, 0])
<Guest58> castle_tower(); translate([10, 10, 60]) cube([40, 40, 20]); translate([0, 25, 0]) castle_gate(); translate([50, 25, 0]) castle_gate(); translate([25, 25, 60]) castle_tower();
Guest58 has quit [Client Quit]
J24k66 has joined #openscad
J24k81 has quit [Ping timeout: 250 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
LordOfBikes has quit [Ping timeout: 264 seconds]
LordOfBikes has joined #openscad
snaked has joined #openscad
<gbruno> [github] keithel edited issue #5172 (Allow selecting STL files to import via a file dialog) https://github.com/openscad/openscad/issues/5172
<gbruno> [github] keithel opened issue #5172 (Allow selecting STL files to import via a file dialog) https://github.com/openscad/openscad/issues/5172
<gbruno> [github] keithel opened pull request #5173 (Show STL files to import in Open File dialog #5172) https://github.com/openscad/openscad/pull/5173
<gbruno> [github] keithel synchronize pull request #5173 (Show STL files to import in Open File dialog #5172) https://github.com/openscad/openscad/pull/5173
<gbruno> [github] keithel edited pull request #5173 (Show STL files to import in Open File dialog #5172) https://github.com/openscad/openscad/pull/5173
<J24k66> anyone why no string array in customizer?
<J24k66> so Guest58 GPT? castle https://imgur.com/a/0owmvmr
<InPhase> J24k66: I have a vague memory of some layout issue with customizer that I think might have been arrays of strings that couldn't be made to work right.
<InPhase> J24k66: During a GSoC maybe? So possibly someone more experienced could sort out a solution.
<J24k66> hmm to bad - guess i need separate parameter then
<InPhase> J24k66: I wrote a split_csv function. You could make one for other strings. :)
<InPhase> Mine only does csv's of floats.
<J24k66> i only use this for two or three  like   end =[false,true];   or  in case you have two text bottom top
<J24k66> but then end=[0,1]; it is  and top="yes"; bottom="no";
<J24k66> InPhase   list=[];  is not ``` a=""; b=''";list=[a,b,c,d]; ```
<J24k66> is there an option to have 5 parameter in a list that has len() 0 if those parameter are ampty
<J24k66> probably a function works
<J24k66> ok would be much easier to just make a delimited csv text string for it
erectus has quit [K-Lined]
<J24k66> ok made a function that counts string arrays only if text is in
peeps[work] has quit [Ping timeout: 272 seconds]
TheCoffeMaker_ has quit [Ping timeout: 255 seconds]
peeps[work] has joined #openscad
Guest51 has joined #openscad
Guest51 has quit [Client Quit]
TheCoffeMaker has joined #openscad
R2robot has left #openscad [See ya'll later. o/"]
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
__marlasinger__ has joined #openscad
mmu_man has joined #openscad
guerd87 has joined #openscad
__marlasinger__ has quit [Ping timeout: 264 seconds]
<gbruno> [github] ipmcc opened issue #5174 (OpenSCAD does not respect macOS system keyboard shortcuts.) https://github.com/openscad/openscad/issues/5174
snaked has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 252 seconds]
alexfacciorusso has joined #openscad
mmu_man has joined #openscad
alexfacciorusso has quit [Ping timeout: 250 seconds]
t4nk_fn has quit [Ping timeout: 256 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
<gbruno> [github] gsohler opened pull request #5175 (Calculate Segment Distance instead of Line Distance) https://github.com/openscad/openscad/pull/5175
guso78k has joined #openscad
guso78k has quit [Client Quit]
<pa> Hi, question: i have a curved shape. Any way to "straighten" or "flatten" it ?
<pa> technically i would only need to flatten it along one axis/plane
<teepee> the only thing that comes to mind is projection() to 2d and linear_extrude() back into 3d at a specific height
Guest43 has joined #openscad
<Guest43> I'm running OpenSCAD version 2024.06.10 (git 6db5adc0c) on macOS and I'm trying to use textwidth() command to be able to translate other object into the right edge of a printed text. The docs says I need snapshot/dev release (which I'm running) to use textmetrics command but I'm still getting WARNING: Ignoring unknown module 'textmetrics' in file
<Guest43> test.scad. Am I doing something wrong?
<pa> umh.. but that would lose the top curve
<pa> maybe with some other tool? idk any, but perhaps there are some that can manipulate meshes?
teepee_ has joined #openscad
<pa> i suppose rigid transformation based on point matching could be a cumbersome but viable way
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
<pa> but i would somehow need to measure the length of the base and then place the end point at that distance
<pa> i'll check meshlab, it must have something
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
califax has quit [Remote host closed the connection]
mmu_man has joined #openscad
califax has joined #openscad
<Virindi> Guest43: you have to enable it in the options.
<Virindi> edit -> preferences -> features -> textmetrics
mmu_man has quit [Ping timeout: 252 seconds]
Guest43 has quit [Ping timeout: 250 seconds]
J24k66 has quit [Quit: Client closed]
J24k66 has joined #openscad
Guest65 has joined #openscad
Guest65 has quit [Client Quit]
mmu_man has joined #openscad
hyperair has quit [Ping timeout: 256 seconds]
hyperair has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
califax_ has joined #openscad
fling_ has joined #openscad
califax has quit [Ping timeout: 260 seconds]
califax_ is now known as califax
fling has quit [Ping timeout: 260 seconds]
fling_ is now known as fling
J24k66 has quit [Quit: Client closed]
J24k66 has joined #openscad
t4nk_freenode has joined #openscad
t4nk_freenode is now known as t4nk_fn
foul_owl has quit [Ping timeout: 255 seconds]
foul_owl has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
Reisga20 has joined #openscad
Reisga2 has quit [Ping timeout: 252 seconds]
Reisga20 is now known as Reisga2
abff has quit [Quit: everybody gets one]
abff has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad