<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>
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.
<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
<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]