Results 61 to 70 of 72
Thread: OpenScad Help Centre
Hybrid View
-
12-08-2014, 06:49 AM #1
- Join Date
- Jun 2014
- Location
- Burnley, UK
- Posts
- 1,662
I just ordered my Christmas goose, £65. Gobsmacked I was.
-
12-08-2014, 07:43 AM #2
This happens to me a alot... If you press the 'Back' button to return to the page before you submitted it... You can highlight all your text, and do a 'Copy' to get it to the clipboard. Then you can start at the top of the forum and drill back down to the thread you are trying to reply to, go to the very end and just do a 'Post Quick Reply' and do a Paste to recover where you were.
In fact... I left this window open over night... And it just happened on this Reply.
-
12-09-2014, 05:18 AM #3
Umm, yes ?
There is no such thing as 'best practice'. Only what you are happiest using.
If that's all it takes to save your own modules and use them in scripts. Then that's going to be extremely useful.
The only thing I've used like that so far is the write.scad module. I actually made a different one for each font and renamed them for the font names. so i can just use: use <knewave.scad>
To use the knewave font. Makes things a bit easier.
Using a library of your own modules would make for simpler looking scripts, that's for sure.
Also you're rotate extrude module just makes a bog standard straight sided ring. Shouldn't it make a round sided 'donut/torus' ?
Here's some homework for you OME - find a decent module I can make different sized screw threads with. I've so far not managed to find one that actually works.
-
12-09-2014, 06:22 AM #4
Pay attention!!. This is the OpenScad Help Centre, not the Geometry Help Centre. The code pasted here is just an example copied from the blog page to illustrate the topic "Modules"
Hey! I'm not some pheasant phucker's pimp! Get your own screw (but ask if she has a friend.)
Maybe this one love you long time:
uploads-74-10-9c-ff-15-screwthread_v2.scad
OMELast edited by old man emu; 12-09-2014 at 06:34 AM.
-
12-09-2014, 07:54 AM #5
- Join Date
- Jun 2014
- Location
- Burnley, UK
- Posts
- 1,662
I think that using the "module" function is the only way to make openscad files easy to understand by the people that did not write them.
If you stick all the separate things it does in modules then just call them from the bottom of the file it really is a lot easier to remember what is what.
-
12-10-2014, 05:37 AM #6Pay attention!!. This is the OpenScad Help Centre, not the Geometry Help Centre. The code pasted here is just an example copied from the blog page to illustrate the topic "Modules"
And using examples from thje openscad manual is just going to confuse everybody :-)
Not sure who wrote that manual, but I'm leaning towards someone with aspergers.
They defintiely don't share any frame of reference with me :-)
-
12-10-2014, 06:16 AM #7
I agree that I didn't put the question about the square doughnut very well, but it did generate some lively discussion, have minds whirring over, and introduced us to an expert in the field.
I'm with you in saying that the OpenScad manual is not instructive. It clearly was not written with the intention of enlightening people like you and me who just wanted to use OpenScad to make objects. The manual was obviously written by programmers for programmers and that is why it is full of jargon such as, (You can instantiate the module by passing values (or formulas) for the parameters just like a C function call)
Instantiate??????
Techopedia explains Instantiate
Instantiation is the creation of an instance of an abstraction, object class (also known as a template) or other computer process whereby objects are used. Each instance created by instantiation is unique depending on the variation of the elements within the object. Until an object becomes instantiated, none of the code within the relevant class declarations is used.
Prior to modern OOP methods, instantiate had a similar meaning in relation to the creation of data within an empty template. For example, the entry of a record into a database was considered to be instantiation.
Remember this. It will be in the End of Year examination of the core topic Obfuscation 101.
The manual presumes too much prior knowledge of programming, which is why I started this thread with a request for a description of the syntax, and then realised that I needed to know the meanings of it symbols and punctuation before I could move on to writing some code. I'm also wondering if OpenScad is an efficient way to end up with an *.stl file that is needed for slicing. I haven't tried converting any code to an stl file.
I find that it is very easy to make typographical errors in writing this code. I had to edit the code in the example I posted in Post #60 because the original author had mixed up the order of parameters here
ring(h,r,rw);
OMELast edited by old man emu; 12-10-2014 at 06:29 AM.
-
04-16-2015, 08:43 AM #8
OpenScad has been stagnant for a whole year. No bug fixes or improvements. It almost looked like the development effort was dead. Well, it turns out they were very busy!!! There is a new release 2015.03 that adds a lot of important features and simplifies the code to do a number of things. It seems very stable and so far, it appears to be fully backward compatible.
Two of the best things in the new version are the ability to generate text directly to put on your models and the offset() command.
Check it out: http://www.openscad.org/downloads.html
Actually... There is one more thing that is super important. The ability to set and reset a variable within any scope. This dramatically simplifies a number of things.Last edited by Roxy; 04-16-2015 at 02:28 PM.
-
08-12-2016, 11:26 AM #9
latest scad release is NOT the latest release.
go here : http://www.openscad.org/downloads.html
on the right click on: Development Snapshots
Takes you down to the part of the page with the ACTUAL latest releases.
Some cool new features that, as far as I can find out - just aren't listed. You have to meander through the manual untill you see: 'new in release 2016.*.*'
How I found out you could do a partial rotate extrude.
Must be some other stuff in there as well. I just haven't gone through the whole manual yet.
-
02-29-2020, 08:28 PM #10
This is a very informative topic. It helped me a lot this time.
Ender 3 Neo - Jam Problem
05-08-2024, 03:06 PM in Tips, Tricks and Tech Help