ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
aiyion has quit [Ping timeout: 240 seconds]
teepee_ has joined #openscad
aiyion has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
gunnbr has joined #openscad
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
gunnbr has quit [Ping timeout: 244 seconds]
gunnbr has joined #openscad
ur5us has quit [Remote host closed the connection]
ur5us has joined #openscad
fling has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 272 seconds]
ur5us has joined #openscad
ur5us has quit [Remote host closed the connection]
ur5us has joined #openscad
ur5us_ has joined #openscad
ur5us has quit [Ping timeout: 244 seconds]
ur5us_ has quit [Ping timeout: 244 seconds]
ur5us has joined #openscad
ur5us has quit [Ping timeout: 272 seconds]
fling has joined #openscad
J226776 is now known as J22
<J22>
InPhase - not sure this is simpler though - but your overlap causing 92 objects - which may speed up the render with lazy union active and should not bother the slicer (depending on settings)
<J22>
InPhase but your approach is 150% slower (after i added an overlap to mine) and a union to yours
<J22>
sorry faster Ü
<J22>
linext__ i have added a variable https://bpa.st/JGYA that is keeping your original shape - so if you choose r half of your line (or change the line parameter) your result should look better
<J22>
InPhase - btw i used equal steps because of the layer h in 3D printing so you can match this to the layers used. Although it is not that close to the circle as yours is.
<J22>
still wonder about the render time difference
ur5us has joined #openscad
lastrodamo has joined #openscad
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
ur5us has quit [Remote host closed the connection]
ur5us has joined #openscad
ur5us has quit [Remote host closed the connection]
ur5us has joined #openscad
ur5us has quit [Remote host closed the connection]
ur5us has joined #openscad
LordOfBikes has quit [Quit: Ex-Chat]
nedko has quit [Ping timeout: 240 seconds]
ur5us_ has joined #openscad
LordOfBikes has joined #openscad
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
ur5us has quit [Ping timeout: 272 seconds]
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
nedko has joined #openscad
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
josephl has quit [Quit: Connection closed for inactivity]
sinvet has joined #openscad
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #openscad
ur5us has joined #openscad
ur5us_ has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 276 seconds]
voryzen has joined #openscad
voryzen has quit [Remote host closed the connection]
voryzen has joined #openscad
lastrodamo has quit [Quit: Leaving]
milza has joined #openscad
milza1 has joined #openscad
<InPhase>
J22: Yeah, equal steps is technically better for printing if it aligns with the layers. But the aestheticist in me is always bothered by that symmetry issue when looking at it. :)
<InPhase>
Equal angles just plain looks prettier.
<InPhase>
And sometimes your bevels are not actually aligned vertically, in which case the equal steps is then much worse.
drfff has quit [Ping timeout: 244 seconds]
<J22>
below layer resolution it doesn't matter but yours is the way to go for polyhedra
<J22>
(and also more difficult to understand for beginner)
<InPhase>
I got about halfway through modularizing this into a general beveled edge extrude module. I'm trying to hit the 4 major categories of shapes one might want for this, concave inward/outward, and convex inward/outward.
L0RD88 has joined #openscad
voryzen has quit [Quit: Leaving]
<L0RD88>
Hello lads, i want to develop a new software based on OpenSCAD that includes new features such as an animated view of the designed forms and generating the G Code, i need some tips please
<InPhase>
Well, first, we do have animated views already.
<InPhase>
There's a View, Animate, where the $t value allows arbitrary animations to be made.
<L0RD88>
3D animated like threejs stuff?
<InPhase>
I can link to many demonstrations of this on the scadvent calendars if you'd like to see them.
<InPhase>
Adding in direct g-code production would be a much more involved ordeal, as that means implementing a slicer. It can be done, and juri_ (in the channel) has done this for implicitcad (a similar program written in Haskell), but juri_ will testify that it was a very substantial undertaking.
<InPhase>
This is why we typically segment that out and use stl or 3mf to export content to the slicers.
<L0RD88>
but if the new software involved a slicer it would be great no?
<teepee>
no
<InPhase>
L0RD88: Well there would be a maintenance burden on keeping a slicer up-to-date. It's likely this would be a diversion of labor on core OpenSCAD development unless a set of new developers joined up and stayed on that were very dedicated to this portion.
<teepee>
in my opinion we need improved software, not more incomplete instances
<J22>
InPhase isn't concave outwards = convex?
<InPhase>
If you spanwed off a fork that also had a slicer, it probably would be unfruitful over the long term, although that's certainly something one can try with open source.
<teepee>
there's also a project that tried that already, I don't know if there's much happening in the last years though
<teepee>
RapCAD
<L0RD88>
i just need it as project for my school project, not to burden you with anything:)
<teepee>
L0RD88: I'm sorry, but what you outlined is a 20 year project, not a 20 day one :)
<InPhase>
L0RD88: You're unlikely to complete a slicer by June 18th unless you copy-pasted a big chunk of existing code or went extremely simplistic on it and ignored failing edge cases.
<L0RD88>
teepee i won't start it from scratch:)
<L0RD88>
i already found a slicer so it would be just adding it to openscad
<InPhase>
Ok. Well merging two codebases is a potentially achievable school project in that timeframe.
<InPhase>
The bulk of the work would be interfacing between them, adding a gui element, and slamming your head into the wall of build errors.
<J22>
i assume a simple batch file could export 3mf from SCAD and import in CURA to save a *.gcode file
<L0RD88>
J22 i am just a newbie i dont know much about the core concepts of both :)
<J22>
L0RD88 great that you try this - you will learn a lot Ü
<L0RD88>
J22 thank you, thats why i wanted to ask you lads about this stuff you have more knowledge than i do!
<J22>
i think CURA has something like 200 settings to influence slicing
<L0RD88>
in school they thaught us nothing but a bit about CATIA and Solidworks, its tiresome and you need to have a background in mechanical engineering and they are so complex not to forget they are for commercial and industrial use aka not open source
<L0RD88>
When i found openscad lately i realised its much more easier to work with and its opensource
<J22>
yes and you can do so much with it as only your math is the limit
<J22>
(you already have seen the advent calendar )
<L0RD88>
Yes M8!
<J22>
but CSG is also a different approach to what CATIA Blender or AUTOCAD (FUSION360) or freeCAD
<J22>
did you went through the tutorial from openSCAD?
qeed_ has quit [Quit: qeed_]
<L0RD88>
no i just opened the software edited the code and saw what is does
<L0RD88>
but for now i have to work on the project or else i wont pass the semester
<J22>
SCAD has no file output via the code except the "echo" .. i made a module that can output gcode but you need to have the points (not CSG objects) however
<teepee>
one is the whole application and that's still python AFAIK
<J22>
(it is also in the ub.scad library)
<L0RD88>
so you have to take the stl from openscad an go to cura to convert it right?
<L0RD88>
J22 thank you M8
<teepee>
yes, STL or 3MF -> save -> slice in cura -> G-Code -> printer
<J22>
L0RD88 you can link SCAD to octoprint (IIRC) so an STL is send to an be sliced so your printer can process it
<teepee>
I wonder if there's a more realistic goal for the topic, what's the specific task?
<L0RD88>
teepee by june 18 i need to deliver an app inspired by openscad!
<J22>
and yes i made those designs by copy the gcode from the output (console) window in scad and saved it as *.gcode (without a slicer)
<L0RD88>
J22 how ?
<teepee>
hmm, that's a very vague topic :)
<J22>
preferences ⇒ 3D Print
<L0RD88>
J22 for the code in the pastebin you saved it as a batch file or in the scad itself??
<L0RD88>
teepee it is indeed!
<InPhase>
L0RD88: Does it need to be C++?
<J22>
i used it in scad directly but the "echo" will be also on a command line and can be written in a file (never done that though)
<teepee>
I wonder if it would be possible to do a "slice" button that calls the CuraEngine
<J22>
that paste is openSCAD code
<InPhase>
L0RD88: Another simple project would be some sort of tool to scan .scad files for github links after use/include statements and grab module files from github or thingiverse.
<InPhase>
L0RD88: There are outstanding needs for library management tools, and eventually we need proper ones, but there's merit to doing simple first-pass tools like this.
<InPhase>
Often with a first-pass tools we come to better understand what good or bad ideas are for workflow before committing to a final decision.
<L0RD88>
InPhase i dont know but the main parts in scad are in C++ no?
<InPhase>
L0RD88: Correct. But there are also good opportunities for surrounding infrastructure as part of an ecosystem.
<L0RD88>
J22 the part of G Code you paste it after your code or before?
<L0RD88>
J22 i found it!
<J22>
the function gets points these are just converted into gcode syntax
<L0RD88>
it is in the console
<InPhase>
For another example, there is utility in tools to manage command-line execution of OpenSCAD for many parts in one set of files, selected with -D, consolidating the output files generated, and extract output data from echo statements during the runs and compiling that into part description documents. People frequently ask for such features for complex mechanical work, and there are opportunities for
<J22>
yes
<InPhase>
ecosystem tools to manage this.
<L0RD88>
J22 for the example of the polygon it gave me the following : ECHO: version = [2021, 1, 0]
<L0RD88>
ECHO: "
<L0RD88>
G1 X0 Y0 Z0 F1000
<InPhase>
Because the needs are so diverse, the bulk of this should be in separate ecosystem tools, rather than fully integrated functionality.
<J22>
yes this would move your printer to origin and then to 10,10,0
<J22>
you can add extrusion
<L0RD88>
InPhase: Thank you!
abff has joined #openscad
<J22>
but every other program like C, processing or python is better suitable to create gcode
<L0RD88>
J22: yes but is that enough to print a polygon or not?
<abff>
hello, I've been playing with the idea of editing a 3d model I found online, but I can't figure out how. It's in an STL format. Is there any way to import an STL file and then have it be translated into the openscad language? Or am I using the wrong program? If it's the latter, what's the foss program of choice to import and editt stl files?
<J22>
yes in spiral mode ( travel moves are more complex but also possible)
<L0RD88>
i mean the code that it generated for me!
<L0RD88>
J22: Aight! i see!
<J22>
but you need to calculate the extrusion to match your nozzle linewidth and layer height
<abff>
J22: I followed this, the object appears in the preview, but there's no way to mess with it? I guess I just need to study up
<J22>
abff stl files are meshes not CSG so you can translate (move) rotate skew and scale them .. also Boolean operation with CSG objects
<abff>
so I can't say, change the interior diameter of a cylinder?
<J22>
import<your.stl> can be used like a cube();
<J22>
the stl file only has triangles - no information about the geometry within
<abff>
ah
<L0RD88>
J22 Thank you for the info, it was very helpful!
<abff>
so what program should I use to edit this model
<J22>
L0RD88 always welcome ..
<L0RD88>
InPhase teepee thanks lads!
L0RD88 has left #openscad [#openscad]
<J22>
abff you can use blender to modify vertices in a mesh but as i said the stl has no information what geometry is in it except the surface triangles so there is no way a program could alter a variable .
<abff>
oh I see
<abff>
what a dookie file format
<abff>
thanks for the info
<J22>
maybe in the future an AI could analyse the geometry and recognize it to change it there are some very experimental approaches for self driving cars and object recognition
joseph_ has joined #openscad
<J22>
stl was designed in 80s for SLA printer - not to change things
<J22>
that is what a step file is for .. or .scad code
Guest79 has joined #openscad
<J22>
abff maybe you can create the geometry easy in scad (if it is just a cylinder/ ring)
<othx>
abff linked to "US Quarter Dispenser w/ Belt Clip by Blazin64" on thingiverse => 1 IRC mentions
<abff>
I wanted to modify it to fit euro 50 cent coins
<joseph_>
J22: are you doing research in object generation/reconstruction or a related area? Or do you just know about 3DGAN from around the web?
<abff>
I guess you could just scale the whole thing
<J22>
joseph_ no sorry just knew about it
<abff>
it's only off by a mm I think
<J22>
abff exactly so just scale()import("*.stl");
<abff>
oh shit
<abff>
I made a mistake
<abff>
it's actually about the same diameter
<abff>
I shouldn't have to do anything I must have had the size of a different coin in mind
<J22>
for small changes the clearance should work too . .so if you know what the original size is you can calculate the scale factor .. or just create a cylinder with your needs and scale until it fits in ( alt+arrow helps )
<J22>
haha .. well that was easy then
<J22>
slicer could scale objects too .. so printing just a slice of a few mm to check and adjust if needed
<J22>
ebff here is a quick version of that in openSCAD code
<J22>
abff here the quick scad code for a coin dispenser https://bpa.st/PGHQ
<abff>
wow
<abff>
you're good at this
<abff>
thank you
<J22>
just to give you an idea how you can create this
<abff>
this is incredible thanks
<abff>
what does $fs represent?
<J22>
$fs is the fragment size (resolution) a different way would be $fn the number of fragments
<J22>
abff
<abff>
oh I see!
<abff>
J22: thank you again for your introduction, I played around with the code you gave me until I got the hang of it, then I started modifying the thingiverse project I was interested in. I think I have it the way I'd like and even embossed my own text extrusion into the side :)
<abff>
now I just have to figure out how to turn this into a 3d printed object at the library