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
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
snaked has joined #openscad
Andy-pants has joined #openscad
zxrom has joined #openscad
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #openscad
Andy-pants has quit [Ping timeout: 255 seconds]
linext_ has quit [Read error: Connection reset by peer]
linext has joined #openscad
<linext> can anyone think of some ways of attaching this badge? https://www.3dcustomizer.net/customize/132-Hello+my+name+is+blank
<phryk> still compiling… compilers. currently all of rust, gcc and llvm at once /o\
LordOfBikes has quit [Ping timeout: 268 seconds]
Lagopus has joined #openscad
hyperair has quit [Read error: Connection reset by peer]
LordOfBikes has joined #openscad
hyperair has joined #openscad
J2372 has joined #openscad
J23 has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
<lf94> I finally completed recreating my phone controller with libfive. http://0x0.st/HzG4.png
<lf94> Next up: getting libfive in openscad. I realize that even with libfive, dealing with meshes will always be more performant when dealing with millions of "larger" object instances
ali1234 has quit [Remote host closed the connection]
ali12341 has joined #openscad
<J2372> linext a slit?
califax has quit [Ping timeout: 255 seconds]
califax has joined #openscad
<meshugga> is there a way to find an edge of a composed (union) solid and apply something to it, i.e. a chamfer?
<meshugga> basically, what I seem to be looking for is a linear_extrude on an arbitrary edge
ur5us has joined #openscad
guso78 has joined #openscad
<guso78> lf94, i just cloned and compiled libfive for curiosity
<guso78> after adding /usr/local/lib into LD_LBRARY_PATH, Studio did start, but i cant see any window popping up. i am using Wayland. It is normal to wait long ?
kdc has joined #openscad
nanoflite has joined #openscad
boriyakasumo[m] has quit [Quit: You have been kicked for being idle]
castaway has joined #openscad
ur5us has quit [Ping timeout: 255 seconds]
nanoflite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nanoflite has joined #openscad
bcn has joined #openscad
<bcn> does anyone have working thumnails of their scad files in gnome>
<bcn> ?
boriyakasumo[m] has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
<guso78> teepee, what the purpose of this assert : openscad: /home/gsohler/git/openscad/src/core/NodeCache.h:34: void NodeCache::insertStart(size_t, long int): Assertion `this->cache.count(nodeidx) == 0 && "start index inserted twice"' failed.
<guso78> it happes when i use the same CSG object more than once in a tree.
<guso78> is this assert required for correct openscad functionality ?
<gbruno> [github] schiele synchronize pull request #4538 (implement new scale and translate parameter to rotate_extrude) https://github.com/openscad/openscad/pull/4538
<teepee> I assume there's things that need that, like the link back to source code
<teepee> but I don't now that code specifically
<guso78> ok. so in that case i need to find out, if a tree is already used and offer a duplicate, if so
Andy-pants has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
<bcn> I like that .scad files are just text. but would it be more inline withhow other modeling tools work if it was a zipfile that contained that text file, maybe also an undo history, all other scad files upon which it was dependant, and a png thumbnail?
Andy-pants has quit [Ping timeout: 256 seconds]
teepee has joined #openscad
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
TheAssassin has joined #openscad
<guso78> bcn, openscad saves your backup files in s special place in your computer. this is sometimes helpful if you closed openscad without saving the editor.
guso78 has quit [Ping timeout: 260 seconds]
guso78 has joined #openscad
<guso78> teepee this assert is only used inside the NodeDumper which is required to create the correct keys for Geomtry caching. But if soemthing is wrong with the keys, caching does not work as expected and the result is wrong ....
nanoflite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bcn> guso78: I believe when a gnome thumbnailer runs, it can't access anywhere on the filesystem it wants. it can run things from $PATH, but it can only work with the file that its thumbnailing
<teepee> I've not seen an openscad thumbnailer yet
<gbruno> [github] schiele opened pull request #4539 (move range check outside loop in random_extrude) https://github.com/openscad/openscad/pull/4539
<teepee> I suppose it's relatively easy to do, but obviously may not work on all files
<gbruno> [github] schiele synchronize pull request #4538 (implement new scale and translate parameter to rotate_extrude) https://github.com/openscad/openscad/pull/4538
J2372 has quit [Quit: Client closed]
J2372 has joined #openscad
kdc has quit [Quit: kdc]
GNUmoon2 has quit [Ping timeout: 255 seconds]
GNUmoon2 has joined #openscad
Andy-pants has joined #openscad
Andy-pants has quit [Ping timeout: 248 seconds]
TheAssassin has quit [Remote host closed the connection]
<gbruno> [github] schiele opened pull request #4540 (round up number of fragments in rotate_extrude) https://github.com/openscad/openscad/pull/4540
TheAssassin has joined #openscad
use-value has joined #openscad
J2372 has quit [Quit: Client closed]
J2372 has joined #openscad
snaked has quit [Quit: Leaving]
nanoflite has joined #openscad
Andy-pants has joined #openscad
nanoflite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guso7866 has joined #openscad
Andy-pants has quit [Ping timeout: 252 seconds]
teepee has quit [Ping timeout: 255 seconds]
teepee has joined #openscad
GNUmoon2 has quit [Ping timeout: 255 seconds]
GNUmoon2 has joined #openscad
nanoflite has joined #openscad
<InPhase> bcn: I primarily edit scad files with vim. Converting them from text to a zip file would strongly interfere with this.
<InPhase> bcn: Likewise for all sorts of other tooling in use.
<InPhase> bcn: It would also break git history tracking for all those git repositories of scad projects and libraries.
<InPhase> bcn: In fact I often specifically avoid other systems across a broad set of problem spaces if their input files do not comply with line-based diffing for version tracking purposes.
<InPhase> bcn: Like, LaTeX files beat out docx and odt files.
TheAssassin has quit [Ping timeout: 255 seconds]
TheAssassin has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
<guso78> InPhase, this is the line in MainWindow.cc where all the parsing of the scad file is done:
<guso78> wait ...
<guso78> this->root_file = parse(this->parsed_file, fulltext, fname, fname, false) ?  this->parsed_file : nullptr ;
<guso78> apparently when i press F5, this line is processed twice for different "stages".
<guso78> i'd like to understand the concept behind.
<InPhase> We process it twice?
<guso78> hmm, give me some time.
<guso78> i will finally proof my suspecition in master branch
<guso78> suspicion
<InPhase> You might be right, but that would be an unfortunate structural error.
<guso78> it would not be much execution time, but issue is that at least in my place at least the node cache is filled with double amount of objects ...
<guso78> when there are 2 primitives in the scad source, node cache contains 4 nodes.
<guso78> but let me proof first
<guso78> InPhase, i am sorry, it only appears in my branch, need to understand, why it  goes wrong
L29Ah has quit [Read error: Connection reset by peer]
L29Ah has joined #openscad
<InPhase> guso78: Ah, good. We've had other such inefficiencies just like that, but at least that's not one of them.
GNUmoon2 has quit [Ping timeout: 255 seconds]
Andy-pants has joined #openscad
boriyakasumo[m] has quit [Quit: You have been kicked for being idle]
nanoflite has quit [Ping timeout: 252 seconds]
<guso78> InPhase, when I start openscad in my place like: openscad file.scad
<guso78> then parsing is called twice and produces double number of nodes in cache. all subsequent renders are ok, instead
<InPhase> Also in master?
<InPhase> Or is that just in yours?
GNUmoon2 has joined #openscad
<guso78> right now in my branch with python not enabled which should be very similar.
<InPhase> guso78: There is a second call to that in openTabFile, which is called from createTab, which parses purely for the customizer.
<guso78> i finally need to maintain 2 build dirs because changing the branch is quite time expensive :(
<InPhase> But this could be redundant with the direct compile(...) called in MainWindow.
<InPhase> Possibly that structure should be rethought if it is leaving residue behind.
<bcn> InPhase: yeah, I would hate to loose line based diffing, and compatability with git. What's the best way to get thumbnails? maybe some switch in openscad itself that saves a .thumb.asof.yyyymmddhhmm.png file every time I save a .scad file Or a gnu find script that just patrols the filesystem and generates them right next to the scad files?
<InPhase> bcn: I wouldn't mind a setting in OpenSCAD to constantly save a thumbnail of the most recent preview. I just want it off by default, because I hate programs leaving garbage litter all over the place. I do however accept that it works for the workflow of other people sometimes.
<bcn> actually, I think it might be possible to "pre-load" thumbnails into the thumbnail cache without using gnome's thumnailers (thumbnail generators) Maybe on file-save, the openscad app cold generate a thumb form the view window, and save it into that cache before it closes
<InPhase> bcn: But it would have to line up with where a file browser expects to see these to be worthwhile.
<InPhase> bcn: And there are a LOT of file browser standards.
<bcn> yeah. just droping png files 'next to' the .scads makes me cringe. ... wait, there's a universe outside of gnome? say it ain't so!
<InPhase> thunar is my file browser, officially. But I mostly use the terminal anyway to work with files.
<bcn> checks for gnome-universe package
<bcn> I've done well with nautilus for a while. Though I do recall thunar when I used to use LXDE on some very light weight PCs
<bcn> this spec explains why thumbnails are useless on my pocket-scanner that doesn't have a RTC and reuses filenames every time I clean off the card
guso7866 has quit [Ping timeout: 260 seconds]
guso78 has quit [Ping timeout: 260 seconds]
J2372 has quit [Quit: Client closed]
J2372 has joined #openscad
nanoflite has joined #openscad
nanoflite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest15 has joined #openscad
Guest15 has quit [Client Quit]
J2372 has quit [Quit: Client closed]
J2372 has joined #openscad
Andy-pants has quit [Ping timeout: 255 seconds]
Lagopus has quit [Ping timeout: 248 seconds]
teepee has quit [Ping timeout: 255 seconds]
Lagopus has joined #openscad
teepee has joined #openscad
<bcn> InPhase: I thought I'd share my script. It basically works other than I'm not 100% sure my encoding for rfc uri names is right https://pastebin.com/FHvSXniN
<bcn> maybe you can adapt it for thunar's thumbnails
lostapathy has quit [Quit: WeeChat 3.5]
lostapathy has joined #openscad
nanoflite has joined #openscad
J2372 has quit [Quit: Client closed]
J2372 has joined #openscad
isma22 has joined #openscad
<isma22> Hello guys
<isma22> Is there a way to cut an already existing cube -as with difference()-?
<isma22> I have a room() module that creates walls, floor, ceiling and adds text with measures.
<isma22> Now I'm working on a window() module, I want to cut off pieces of the room and leave only text with mesures.
<teepee> isma22: yes, you can use your own modules just as the built-in ones like cube()
<J2372> isma22  you might have a look at children(); they will be replaced with the child object when used in a module https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/User-Defined_Functions_and_Modules#Children
<isma22> thanks, I'll give children() a try
peeps[work] has joined #openscad
<J2372> if you text and measures have a %prefix they will not be cut from the window module
teepee has quit [Remote host closed the connection]
GNUmoon2 has quit [Remote host closed the connection]
fling has quit [Remote host closed the connection]
GNUmoon2 has joined #openscad
teepee has joined #openscad
<J2372> isma22 here https://bpa.st/WBNIK
Ckatt has joined #openscad
germ_ has joined #openscad
jonasbits_ has joined #openscad
juri__ has joined #openscad
pah has quit [Ping timeout: 248 seconds]
germ has quit [Ping timeout: 248 seconds]
cbmuser has quit [Ping timeout: 248 seconds]
mikolajw has quit [Ping timeout: 248 seconds]
juri_ has quit [Ping timeout: 248 seconds]
Ckat has quit [Ping timeout: 248 seconds]
jonasbits has quit [Ping timeout: 248 seconds]
evils[m] has quit [Ping timeout: 248 seconds]
Notkea has quit [Ping timeout: 248 seconds]
cbmuser_ has joined #openscad
Ckatt is now known as Ckat
pah_ has joined #openscad
nanoflite has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teepee has quit [Ping timeout: 255 seconds]
Notkea has joined #openscad
evils[m] has joined #openscad
teepee has joined #openscad
fling has joined #openscad
mikolajw has joined #openscad
nanoflite has joined #openscad
drkow has joined #openscad
drfff has quit [Ping timeout: 255 seconds]
evils[m] has quit [Ping timeout: 248 seconds]
drfff has joined #openscad
drkow has quit [Ping timeout: 260 seconds]
drkow has joined #openscad
drfff has quit [Ping timeout: 260 seconds]
ur5us has joined #openscad
evils[m] has joined #openscad
guso78 has joined #openscad
guso78 has quit [Ping timeout: 260 seconds]
isma22 has quit [Quit: Client closed]
nanoflite has quit [Ping timeout: 252 seconds]
gknux has quit [Quit: ....and i am outta here....]
gknux has joined #openscad
kow__ has joined #openscad
ur5us_ has joined #openscad
ur5us has quit [*.net *.split]
drkow has quit [*.net *.split]
Junxter has joined #openscad
Junxter has quit [Quit: Leaving]
Alexer-_ has quit [Ping timeout: 268 seconds]
castaway has quit [Ping timeout: 256 seconds]
snaked has joined #openscad