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
<linext> what's a space frame structure?
<linext> like voronoi?
<teepee> we'll never know with you two playing ping pong with logins :D
<linext> you mean Abrasive21 and Guest11
<teepee> yep
<teepee> if you are curious, you can try with the email of course
<linext> i'll do a little research to see where that email goes to
<teepee> I'm wondering if there's any openscad relation
<linext> i suppose a standard part could be built and then filtered in a more advanced cad program
<linext> i wish there was a cheat sheet for manifoldcad.org
kintel has joined #openscad
<kintel> Speaking of GLES; has anyone tried to build OpenSCAD for Android (NDK) for cmd-line usage?
Av8r has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<linext> is there a fast way to cut off the bottom of the letters in this example? https://i.ibb.co/QCwZcQw/image.png
<linext> efgjpqy stick out below the line
<linext> i wonder if #84 is faster
<linext> nevermind, someone solved the problem already
<linext> lol
<linext> the STL ends up being 94MB
<linext> increasing $fa and $fs defaults to 3 takes it down to 1MB
<InPhase> linext: Whv would vou want to do that?
<linext> i started gathering usage images every time an STL is rendered
<linext> someone generated this: https://i.ibb.co/rwBVpJ8/16784034971388.png
fling has quit [Remote host closed the connection]
fling has joined #openscad
<linext> still not quite right in the new version: https://i.ibb.co/nQ1R1L7/image.png
LordOfBikes has quit [Ping timeout: 276 seconds]
<linext> well, sort of
<linext> the lowercase "y" is printable
<InPhase> I remember looking at this model and the inclusion of y values quite some time ago, and I must have a file for it, but I cannot find it.
<linext> i guess someone people would want the "y" to print and raise the text
zauberfisch has quit [Ping timeout: 248 seconds]
<linext> other people would probably want to cut it off
zauberfisch has joined #openscad
LordOfBikes has joined #openscad
drkow has quit [Read error: Connection reset by peer]
drfff has joined #openscad
<JordanBrown[m]> linext: with the development snapshot and textmetrics() you can figure out what is going on and generate an appropriate square to intersect with, or whatever.
J2391 has joined #openscad
J23 has quit [Ping timeout: 260 seconds]
ur5us_ has quit [Ping timeout: 255 seconds]
qeed has quit [Quit: qeed]
qeed has joined #openscad
ur5us_ has joined #openscad
gimzmoe has quit [Quit: WeeChat 3.5]
ur5us_ has quit [Ping timeout: 260 seconds]
foul_owl has quit [Ping timeout: 268 seconds]
foul_owl has joined #openscad
wolfdeity[m] has quit [Quit: Client limit exceeded: 20000]
Derek[m]1 has quit [Quit: Client limit exceeded: 20000]
ur5us_ has joined #openscad
ur5us_ has quit [Ping timeout: 260 seconds]
Vasiliy475 has joined #openscad
Abrasive21 has joined #openscad
<Vasiliy475> Good day every one, is it possible to add cross hair coordinates in right to the bottom corner?
wolfdeity[m] has joined #openscad
Derek[m]1 has joined #openscad
<Vasiliy475> one more usefull idea, to add in menu (on the mouse right click)  item "set cross hair" which  sets crosshair at the surface of the body where user did click,
guso78 has joined #openscad
castaway has joined #openscad
Abrasive21 has quit [Quit: Client closed]
Abrasive21 has joined #openscad
Abrasive21 has quit [Client Quit]
<teepee> Vasiliy475: 2nd one is double right click
<teepee> not sure how the first one would work
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
<guso78> in GeometryUtilc.cc there is such a promising function named:
<guso78> bool GeometryUtils::tessellatePolygonWithHoles(const std::vector<Vector3f>& vertices,
<guso78>                                                const std::vector<IndexedFace>& faces,
<guso78>                                                std::vector<IndexedTriangle>& triangles,
<guso78>                                                const Vector3f *normal)
<guso78> its appears at its nowhere used and i start getting doubts, that it works as promised.
<guso78> is there a sample application and where does it come from ?
ccox has joined #openscad
ccox_ has quit [Ping timeout: 246 seconds]
Vasiliy475 has quit [Quit: Client closed]
Vasiliy475 has joined #openscad
<Vasiliy475> teepee: 1. It will give understanding where the croshair located
Abrasive21 has joined #openscad
<Vasiliy475> 2. Can be used as tool for coordinate estimating.
<teepee> Vasiliy475: oh, you mean the center point of rotation?
<Vasiliy475> :) the proper name in APP crosshair
<teepee> yes naming is confusing :)
Abrasive21 has quit [Quit: Client closed]
Abrasive21 has joined #openscad
<Abrasive21> Is there a way to add openScad as a 3d viewer to a program I am writing? I'm a very novice programmer. I have written a small program in c# using visual studio and would like to have a 3D viewer as part of it.
<teepee> it's not specifically built for that, so I assume it would probably not easy
<teepee> also I think you mentioned something about a proprietary program, if that's the case, there would be a license conflict
<Abrasive21> hmmm, I don't want to cause any conflicts. if it's a license thing i can look into that
<Abrasive21> and BTW, that was me yesterday that used your online interface to type"Hello Becky!"
<Abrasive21> .....sorry linext's interface...
Abrasive21 has quit [Quit: Client closed]
Abrasive21 has joined #openscad
guso78 has quit [Quit: Client closed]
Abrasive21 has quit [Client Quit]
J2391 has quit [Ping timeout: 260 seconds]
Vasiliy475 has quit [Quit: Client closed]
peepsalot has quit [Quit: Connection reset by peep]
peepsalot has joined #openscad
<JordanBrown[m]> Vasiliy475: Now if only we knew where the point is that the user clicked, in 3-space. We don't, and it's a hard problem.
Abrasive21 has joined #openscad
Abrasive21 has quit [Client Quit]
snaked has quit [Quit: Leaving]
jonasbits_ is now known as jonasbits
L29Ah has quit [Ping timeout: 268 seconds]
J23 has joined #openscad
L29Ah has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
aiyion1 is now known as aiyion
LordOfBikes has quit [Quit: Ex-Chat]
foul_owl has quit [Ping timeout: 276 seconds]
isma3 has joined #openscad
foul_owl has joined #openscad
<isma3> Hello everyone
<isma3> I finished a preview of a 3D model o a 2 floor house...
<isma3> I was asked to export it as DXF.
<isma3> The manual says I need to do a 2D projection cut first o_Ô, so I attempted something like:
<isma3> projection(cut = true){ include <house.scad>};
<isma3> It just says parser error: syntax.
<isma3> Is there any other way to get the DXF?
<JordanBrown[m]> Did you really do it all on one line line that?
<JordanBrown[m]> That might work if the include is on a line all by itself.
<isma3> more like
<isma3> projectios(cut = true ){
<isma3> include <room 1>
<isma3> include <room 2>
<isma3> ...}
<isma3> I also have a library I get with use<lib.scad> on every room
<JordanBrown[m]> Well, first, try it with only one room. If you can't get it to work with one, it won't work with two.
<JordanBrown[m]> Are the rooms in individual modules?
<JordanBrown[m]> and you're saying that room1.scad as a "use <lib.scad>" in it?
<JordanBrown[m]> "... has a ..."
<isma3> all rooms begin with use <lib.scad>
<isma3> stuf1 = [x y z ]
<isma3> stuf2 = [x y z]
<isma3> module drawRoom(){}
<isma3> then I use include because I need the sizes in order to calculate the translation of things
<JordanBrown[m]> They all have a module "drawRoom"?
<JordanBrown[m]> The same name?
<isma3> different names, the thing is already creating a correct 3D model, as far as I can tell
<JordanBrown[m]> So right now you have a main file that looks sort of like
<JordanBrown[m]> include <room1.scad>
<JordanBrown[m]> include <room2.scad>
<JordanBrown[m]> ...
<isma3> yes
<JordanBrown[m]> and it yields the house?
<JordanBrown[m]> Or do you then need to say
<JordanBrown[m]> drawRoom1()
<JordanBrown[m]> drawRoom2()
<JordanBrown[m]> ?
<isma3> translate(x y z ){ drawRoom1}
<isma3> translate(x y z) {draw room 2}
<JordanBrown[m]> That is, who invokes the modules - the individual files, or the main file?
<JordanBrown[m]> So the main file?
<isma3> the main file
<JordanBrown[m]> So what you want is the main file to say
<JordanBrown[m]> All you're doing is wrapping the projection() around the sequence of calls to the room modules. *Not* around the includes.
<isma3> ok, let me try that
J23 has quit [Quit: Client closed]
J23 has joined #openscad
<JordanBrown[m]> There's nothing magic about projection(); it's just an operation like any other. You might want to play with it in a testbed with simpler cases to get comfortable.
J23 has quit [Quit: Client closed]
J23 has joined #openscad
<isma3> It worked, thanks!
<isma3> include <room 1 2 3>
<isma3> projection(){
<isma3>    one(); two(); tree();
<isma3> }
<JordanBrown[m]> Glad to be of assistance.
L29Ah has left #openscad [#openscad]
<isma3> All the effort to create the 3D thing to be asked to deliver it like that 🤦 , oh well
<JordanBrown[m]> Yep.
L29Ah has joined #openscad
L29Ah has quit [Read error: Connection reset by peer]
L29Ah has joined #openscad
ur5us_ has joined #openscad
Abrasive21 has joined #openscad
Abrasive21 has quit [Client Quit]
KimK has joined #openscad
<isma3> Hey... me again...
<isma3> So I got the model projection(){} working, it takes a minute or two.
<isma3> Then I go File -> export -> DXF
<isma3> But nothing happens, no "save as" dialog, nothing in the directory where I have the files.
<isma3> Am I missing a step or something?
<JordanBrown[m]> No idea, let me try it myself.
<isma3> oh, got it, had to press F6 in between...
<lf94> Had to render I guess
<lf94> DXF is what kind of a format? raster, vector, mesh?...
<lf94> just curious
<JordanBrown[m]> Vector, I think.
<JordanBrown[m]> I believe it has a 3d form too, but we only do the 2d form. I think.
<JordanBrown[m]> You should have gotten a “nothing to export” error in the console.
<JordanBrown[m]> It sure seems to me that while the console is the right place for execution errors, errors directly associated with GUI operations and user actions should yield standard error popups.
<teepee> nooooooo
<JordanBrown[m]> I note that it doesn't even give you the bar at the top of the main window that says that there's something to see on the error log and console.
<teepee> yes, that is currently only for compile errors
<teepee> something like that would be fine, but please no modal popups you have to click
<isma3> yeah, my bad, I close the error console every time
<isma3> I wonder if there's a way to get a 3D DXF  🤔
<JordanBrown[m]> Why is it OK for File/Export/DXF to pop a modal dialog when it works, but not when it doesn't?
<JordanBrown[m]> Note also that, at least in Windows, you don't have to click it to make it go away. Esc, Enter, and space probably also work.
<JordanBrown[m]> I find it quite jarring when something that I *expect* to pop a modal dialog doesn't. Did I click it right, or did I just miss?
<isma3> Yeah, that was me a few minutes ago '=D
<lf94> Yeah no, that's definitely a UX problem
Guest6946 has joined #openscad
Guest6946 has quit [Client Quit]
<teepee> the way to get 3d dxf would be someone digging into the Spec and getting this implemented
<teepee> well, or find an available, free cross platform lib that do the work
<JordanBrown[m]> And if there's a "you should render first" popup, then it should have a [RENDER] button, and you should get the export-as popup when the render completes, so that it's one step-by-step process, rather than "go back to square 1".
<JordanBrown[m]> But that is secondary to getting the response you expect (a popup), whether or not it works.
<gbruno> [github] threed-factory-store opened issue #4544 (Crash during compile of qrc_common.cpp) https://github.com/openscad/openscad/issues/4544
<gbruno> [github] t-paul closed issue #4544 (Crash during compile of qrc_common.cpp) https://github.com/openscad/openscad/issues/4544
<gbruno> [github] threed-factory-store edited issue #4544 (Crash during compile of qrc_common.cpp) https://github.com/openscad/openscad/issues/4544
<guso78[m]> Cant believe that. Would mean that there is a Bug in gcc which Crashes the terminal?
<peeps[work]> anyone in here manage private github repos? i've tried asking in ##github but it seems a bit slow there. I'm trying to understand how to manage a user so they can create PR without having full write access.
<peeps[work]> seems like private repos can only be cloned, but maybe not forked? not sure its even possible
<gbruno> [github] t-paul pushed 1 modifications (Don't suggest "make -j".) https://github.com/openscad/openscad/commit/30399840ccfac4ac485a31510e942fc779fef185
pbsds3 has joined #openscad
pbsds has quit [Ping timeout: 252 seconds]
pbsds3 is now known as pbsds
<teepee> guso78[m]: nope, the bug was in the ReadMe :)
isma3 has quit [Quit: Ping timeout (120 seconds)]
<gbruno> [github] t-paul pushed 1 modifications (Don't suggest "ctest -j".) https://github.com/openscad/openscad/commit/dbb29a26843585479f19f7b1a79540836a934dae
<teepee> peeps[work]: I do but I have not used them much
<teepee> I don't think I had that scenario yet
<teepee> peeps[work]: can you see that https://github.com/openscad/access-test ?
<peeps[work]> no
<teepee> ok, then lets try if we can make it work
<teepee> added you with read role
isma50 has joined #openscad
<peeps[work]> teepee: ok i can see the repo
<peeps[work]> so, in my mind, a PR is a request to merge changes from a fork, but if you aren't allowed to fork a private repo, then seems like it wouldn't be possible to make a PR
<teepee> indeed "fork disabled"
<peeps[work]> or maybe i can give them write access to create new branches but not to clobber main? i just want a bit of access control
<peeps[work]> as opposed to handing over the keys
RichardPotthoff has joined #openscad
<teepee> set you to role triage now
<peeps[work]> all the github role settings stuff is kinda hard to follow
<peeps[work]> teepee: what's that do? permissions to edit issues?
<teepee> Triage - Can read and clone this repository. Can also manage issues and pull requests.
<teepee> lol, still no fork?
<peeps[work]> hmm, can manage pull request, but how would I create one? i can't push to my fork because I can't create a fork
RichardP_ has quit [Ping timeout: 255 seconds]
isma50 has quit [Quit: Client closed]
<teepee> seeing some discussions that sound like it's indeed not possible
<teepee> very unexpected
<peeps[work]> i guess i just have to bite the bullet and give this remote contractor full write permissions
<teepee> hmm, "the owner has disabled forking"
<teepee> oh, there's an org setting
<teepee> and supposedly a repo setting too
<peeps[work]> seems like you have to pay for fine access controls: "In addition to the available pre-defined roles, you can create up to 0 custom roles to fit your needs."
<peeps[work]> github enterprise
<peeps[work]> oh, i see the fork setting now
<teepee> I had to enable that org-wide
<teepee> and then there's a setting in the repo too which was default-on
<peeps[work]> ok, i think that setting is all I needed
<peeps[work]> hopefully
<teepee> PR created with read-only role
<teepee> wait, that's a local PR
<teepee> now it's against the openscad repo and no merge button
guerd871 has joined #openscad
guerdy has quit [Read error: Connection reset by peer]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
LordOfBikes has joined #openscad
LordOfBikes has quit [Remote host closed the connection]
LordOfBikes_ has joined #openscad
LordOfBikes has joined #openscad
gimzmoe has joined #openscad
LordOfBikes_ has quit [Quit: Ex-Chat]
gimzmoe has quit [Quit: WeeChat 3.5]
gimzmoe has joined #openscad
<gbruno> [github] cidylong opened issue #4545 ([Split module object function] --- New feature should be added.) https://github.com/openscad/openscad/issues/4545
gimzmoe has quit [Quit: WeeChat 3.5]
gimzmoe has joined #openscad
<gimzmoe> is there a way to select a surface on an imported STL?
snaked has joined #openscad
<gimzmoe> I think I may have to just frankenstein together several simpler cuts of the same object
LordOfBikes has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
LordOfBikes_ has joined #openscad
LordOfBikes_ has quit [Remote host closed the connection]
Abrasive21 has joined #openscad
<JordanBrown[m]> No
Abrasive21 has quit [Client Quit]
LordOfBikes has quit [Remote host closed the connection]
<gbruno> [github] cidylong opened issue #4546 (Is rendering issue or some thing else?) https://github.com/openscad/openscad/issues/4546
LordOfBikes has joined #openscad
LordOfBikes has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
snaked has quit [Quit: Leaving]
ur5us_ has quit [Ping timeout: 255 seconds]