<FractOrr>
I think I have passing options on the command line for exporting done, this is only for pdf and lightburn (I just added this). How do I go about building openscad for windows so I that I can test it there? I mainly use Windows so I should it before do a pull request
<teepee>
msys2 probably, the official builds are MXE which build windows binaries on Linux
<teepee>
or you create a PR and let the CI build a windows version you can just download :)
<FractOrr>
okay, I will run some more tests and if it looks okay I will do a PR
J23k38 has quit [Quit: Client closed]
J23k38 has joined #openscad
J23k38 has quit [Client Quit]
J23k38 has joined #openscad
kintel has joined #openscad
arebil has joined #openscad
_whitelogger has quit [Server closed connection]
_whitelogger has joined #openscad
Friithian has quit [Server closed connection]
Friithian has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greenbigfrog has quit [Ping timeout: 260 seconds]
greenbigfrog has joined #openscad
snaked has joined #openscad
FractOrr has quit [Quit: Client closed]
kintel has joined #openscad
LordOfBikes has quit [Ping timeout: 264 seconds]
LordOfBikes has joined #openscad
rawgreaze has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 258 seconds]
rawgreaze has joined #openscad
J23k38 has quit [Quit: Client closed]
J23k38 has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
J23k38 has quit [Quit: Client closed]
J23k38 has joined #openscad
J23k48 has joined #openscad
J23k38 has quit [Ping timeout: 250 seconds]
erectus has quit [Ping timeout: 264 seconds]
erectus has joined #openscad
J23k48 has quit [Quit: Client closed]
J23k48 has joined #openscad
hyvoid has quit [Ping timeout: 240 seconds]
hyvoid has joined #openscad
hyvoid has quit [Ping timeout: 272 seconds]
hyvoid has joined #openscad
hyvoid has quit [Ping timeout: 252 seconds]
guso78k has joined #openscad
guso78k55 has joined #openscad
arebil has quit [Quit: arebil]
misterfish has joined #openscad
misterfish has quit [Ping timeout: 240 seconds]
hyvoid has joined #openscad
<Scopeuk>
Unless you need to pull in additional libraries the ci is pretty damn effective. There is an issue so where detailing getting a build environment up on windows using vcpkg and visual studio but it is quite involved. Linux cross compile might well be easier
Lagopus has quit [Read error: Connection reset by peer]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
misterfish has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #openscad
mmu_man has joined #openscad
TheAssassin has quit [Ping timeout: 264 seconds]
TheAssassin has joined #openscad
misterfish has quit [Ping timeout: 255 seconds]
guso78k has quit [Ping timeout: 250 seconds]
misterfish has joined #openscad
Guest56 has joined #openscad
Guest56 has quit [Client Quit]
snaked has quit [Quit: Leaving]
noonien8 has joined #openscad
RichardPotthoff has joined #openscad
Guest32 has joined #openscad
<Guest32>
I would like to import a picture (png, jpeg whatever) and paint it on the side of a cube() (or some other surface). I'm not after converting the picture into geometry - I'm simply after putting a bitmap onto the surface. I've had a quick look around but I can't see an easy way to do this and wondered if I had overlooked something?
<J23k48>
Guest32 you can import svg or using surface
<J23k48>
other surfaces that not flat require some math as distortions will result
<J23k48>
But as openSCAD will render the geometry - all color (image) information will be lost if they are not in geometry
<Guest32>
It's the colour information (the "picture") I want to appear - I don't want a relief map (obvs I'm not printing this, just rendering a scene).
<J23k48>
Sorry open SCAD can't import colored Objects
<J23k48>
there is no mapping like Blender has - and without UV-map you can't apply an image
<Guest32>
I appreciate I can use other tools but I've got a complex openscad geometry I want to render and then just want to paint one surface with a picture. I'd rather no kludge this step...
TheAssassin has quit [Ping timeout: 264 seconds]
<Guest32>
I guess dissecting the bitmap and reconstituting it as one geometry object per pixel coloured appropriately would be devastatingly slow and prone to numerous rendering artefacts for any reasonable resolution image...
<Guest32>
Can someone suggest an open tool that can take my resulting STL and allow me to decorate it as described?
TheAssassin has joined #openscad
<knielsen>
Guest32: With blender, you can import the STL and apply the picture as a texture
<guso78k19>
of course , when you are an artist, you could do it way better '=D '=D
<InPhase>
guso78k19: You have them hardcoded as numbers right now? Probably the best interface would be like texture="somefile"
<guso78k19>
InPhase yes you got me! the code in the picture shows an old syntax which does not exist anymore
<guso78k19>
now i really use textture("some.jgg") and then color(textureid=blabla);
<guso78k19>
just did not manage to update the code yet
<InPhase>
Syntax like blabla=texture("some.jpg"); ?
<InPhase>
So like, load at define, and then use the variable?
<guso78k19>
haha, right now this is not supported. instead you have to counr yourself, but having python in background this is quite easy to do.
<guso78k19>
you could play with all these features with my installers. they contain all the features which did not manage to merge to the main openscad .
bozo16 has joined #openscad
<guso78k19>
BTW the cat picture is part of CURA installation in linux , its not my cat '=D
castaway has quit [Server closed connection]
castaway has joined #openscad
misterfish has quit [Ping timeout: 272 seconds]
foul_owl has quit [Read error: Connection reset by peer]
foul_owl has joined #openscad
guso78k19 has quit [Ping timeout: 250 seconds]
paddymahoney has quit [Remote host closed the connection]
paddymahoney has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
L29Ah has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
Guest32 has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #openscad
guso78k has joined #openscad
L29Ah has joined #openscad
RichardP_ has joined #openscad
RichardPotthoff has quit [Ping timeout: 240 seconds]
<guso78k>
showSelectedPoint already works from within paintGL bug of course I dont want to call paintGL.
<guso78k>
even if i run paintGL manually , it does not work. its probably the double buffering, how can i operate them manually ?
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
califax has quit [Remote host closed the connection]
califax has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
L29Ah has left #openscad [#openscad]
kintel has joined #openscad
<kintel>
guso78 I think you in practice need to perform your drawing calls inside paintGL
<kintel>
..perhaps unless you paint onto a separate surface and let Qt composit them
<kintel>
Are you trying to avoid redrawing the OpenSCAD geometry every time your render your highlight?
Guest32 has joined #openscad
<guso78>
Yes i want to avoid redraw and just do an xor on.the existing picture
FractOrr has joined #openscad
<Guest32>
Q: is there a way to set the background colour of the viewport (preferably programmatically)?
<Guest32>
Q: is there a way to set the zoom and viewing angle programmatically?
<FractOrr>
I create a PR for my Lightburn export option. I added some error checking and validation for the command line export options
<guso78>
Probably Render is fast enough to render everything even only the highlight changes.
<guso78>
Guest32 you can set themes or define your own ones.
<kintel>
guso78 I would prototype rendering everything from the same paintGL operation
<kintel>
..then look into optimizing e.g. by rendering into separate buffers to isolate the two views with different frame rate, then composit the buffers in the end.
<kintel>
Might be a bit tricky to pull off though..
<Guest32>
set the zoom and viewing angle: $vpt etc found it... supplementary question, how can I find the current $vpt etc?
<Guest32>
Solve - never paid any attention to that line at the bottom of the page before...
<kintel>
There is also the Edit -> Copy viewport * menus
Guest32 has quit [Quit: Client closed]
<guso78k>
kintel, your strategy works out . i can "hover" points now ...
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]