<Guest9>
still kind of confused. I have an stl imported, added areas of text with linear extrusion. I can't get them to subtract from the STL though
jjs has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
jjs has quit [Client Quit]
<Guest9>
I may need someone to look at my code and explain how to do this
Guest9 has quit [Quit: Client closed]
linext has quit [Read error: Connection reset by peer]
J23k73 has joined #openscad
J23k8 has quit [Ping timeout: 245 seconds]
LordOfBikes has quit [Ping timeout: 240 seconds]
mmu_man has quit [Ping timeout: 240 seconds]
LordOfBikes has joined #openscad
<InPhase>
caveman: I want to note for you that Prusa's code that you linked is from the 2013 era. The simple reality is that what a lot of people are writing now for OpenSCAD tends to look a lot better than what people were writing back then. The language has advanced, the community has shared many best practices through collective accumulated experience, and things as a whole just overall seem to look better
<InPhase>
now.
<InPhase>
caveman: My first instinct when glancing at it is that it felt like "old code" to me.
<InPhase>
And in fact, it is. :)
<InPhase>
Good chunks of my oldest code don't look much different from that.
pharonix71 has quit [Remote host closed the connection]
califax has quit [Write error: Connection reset by peer]
califax has joined #openscad
pharonix71 has joined #openscad
<caveman>
InPhase: how much code shrinkage are we talking about?
<J23k73>
caveman i have seen people coming with 150lines of code and asked for help and i gave them 50 lines doing the same. It is bit of a question how creative you are.
<InPhase>
caveman: If you wanted a solid estimate of scope I'd have to try reimplementing some of the designs and see what they come out to with what I'd consider a good modern approach. But, not tonight. It's late.
snaked has quit [Ping timeout: 256 seconds]
<InPhase>
caveman: Note that shorter is not always better though, but I note there are many deviations from good abstraction in that code, and it has a lot of raw sprawled out linear layout.
<J23k73>
Just look at the demoscene to understand what you can do with 65k
snaked has joined #openscad
<J23k73>
and a sequence hull is less code than a polyhedron but it is not better
<InPhase>
caveman: I'd second the notion that the calendar is a good illustration of compact code, and often elegant code. Although it is of a particular subset of code not using libraries. I do rely on a lot more libraries for current designs.
<caveman>
my problem is that, i went to the calendar, and i saw two things: (1) stuff seeming useful, (2) stuff seeming like little tests. (1) was large, (2) was ok but useless.
<J23k73>
they are demonstrations of how something can be done - so you need to apply them
<InPhase>
Perhaps I can illustrate what I picture as the gradual evolution of things with two random selections of mine. I don't know if you will see what I see. Here is a design of mine from 2018, selected because it's halfway between now and 10 years ago. It works! It was a great design mechanically speaking. I kind of don't like the code, and wouldn't do it that way today. https://bpa.st/UUTSS
<J23k73>
best thing you have something you need to design and talk about the approach
<InPhase>
caveman: In comparison, here is a design of mine from last year. I have no lingering regrets about that design other than a subtle personal objection to the vertical rather than angular spacing that caused that extra wide second-last layer at the top of the knob curve. I might fix that if I redid it, but honestly that's super subtle and not much to do with the core structural differences.
<InPhase>
caveman: Now the way I evolved in how I do things is not going to be the same as how everyone else has changed. We all have our personal code styles. But there's a trend toward an increased use of smaller functions and modules, and parameterization seems to on average have improved over the years, with fewer magic numbers.
<InPhase>
caveman: People in general have more tricks for abstraction and reuse, which compactifies and simplifies things.
TheAssass1n has joined #openscad
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
snaked has quit [Remote host closed the connection]
snaked has joined #openscad
siege has quit [Quit: Ping timeout: -1 seconds]
<J23k73>
caveman you also need to develop a different mindset of thinking compared to the usual cad software - that requires some time
<caveman>
i heard that openscad, due to its mesh nature, will become too slow compared to, say, freecad.
<J23k73>
depends on how you create them, and the new manifold (2023) is much faster
<J23k73>
but yes if you have a preview with high detail it will slow down, but you can choose to use high detail only for render
<caveman>
anyone who uses openscad for making buildings? steel structures?
<J23k73>
from time to time we have seen here people to use it for concrete molds, or block houses, carpentry
<J23k73>
but as there is no build in function for counting parts and create lists of parts (BOM) other CAD software may be more useful
<J23k73>
you get a nice design but if you need the area of your building floors you may get headache, also there is no static and you have no materials to export (or even colors)
<J23k73>
so there are clear limitations
<J23k73>
and viewing a whole detailed building with all hidden constructions, plumbing, electrical etc. will be too complex - you need to make switches to simplify details. ( i assume other cad software have that build in)
<guso78[m]>
Yes, my flow IS to Print 3d busts and use Them for Green Sand Metal Casting Then
<guso78[m]>
But ITS quite difficult to find Models which easily demold.
ABSHK has quit [Ping timeout: 260 seconds]
ABSHK has joined #openscad
siege has joined #openscad
qeed_ has joined #openscad
qeed has quit [Ping timeout: 240 seconds]
<Scopeuk>
guso78[m] I use a program called "3d tool" https://www.3d-tool.com/en-cad-viewer-download.htm (just the free viewer) which can take a model and report the draft angles for you throughout to work out how well things will de mold
<Scopeuk>
that's not something I use much but I'm aware it is in there
<Scopeuk>
I use the measurement tools in there a lot (it is windows only and it's not open if those are deal breakers)
guso78 has joined #openscad
<guso78>
Scopeuk, thank you for the hint.i will watch that out
caveman has quit [Killed (NickServ (Forcing logout caveman -> caveman))]
cvmn has joined #openscad
cvmn is now known as caveman
caveman has quit [Client Quit]
erectus has joined #openscad
<lf94>
guso78[m]: nice :)
<lf94>
guso78[m]: let's see using RNG SDF :p
little_blossom has quit [Quit: little_blossom]
little_blossom has joined #openscad
guso78 has joined #openscad
little_blossom has quit [Client Quit]
little_blossom has joined #openscad
<guso78>
RNG SDF ? what is RNG ?
<InPhase>
Random Number Generator.
<lf94>
Like what I tried the other day
<lf94>
Noise with sphere SDF
<lf94>
Except I failed because I'm not really sure
<lf94>
I think it has to do with my libfive translation of the original SDF algorithms
<guso78>
lf94, but it would work better with geodesic spheres instead
J23k73 has quit [Quit: Client closed]
J23k73 has joined #openscad
guso78 has quit [Ping timeout: 245 seconds]
J23k73 has quit [Quit: Client closed]
J23k73 has joined #openscad
mmu_man has quit [Ping timeout: 240 seconds]
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
mmu_man has joined #openscad
<joseph_>
kintel: To me it seems like a strange property of GitHub repository permissions that after I made a pull request from my fork to the OpenSCAD repo, you were able to force push to my branch. It's not a problem in this case because I still have the original authored commits locally. But as a general rule I would not have expected that making a PR implicitly gives the other repo's maintainer write access to my fork.
mmu_man has quit [Ping timeout: 240 seconds]
craftmaster1231 has quit [Quit: Client closed]
<lf94>
it may only be write access to a particular branch?
<teepee>
joseph_: yes, that's the default. I think there's a flag to disable pushes, not sure if there's something separate for force-push