Merging library inside project

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Merging library inside project

Build-0-Matic
Hi!
I'm new to OpenSCAD and I'm currently working on a small project for which I
need some help.
I have found this script on Thingiverse
(https://www.thingiverse.com/thing:3826892) that uses the Threads.scad
library. I need to import it into FreeCAD but the external library seems to
be causing FreeCAD some problems.

I thought of doing my project entirely in OpenSCAD but I'm really bad at
programming, so for me, considering the complexity of my project, it's a
no-go.

Is there an easy way to include the library inside the project so that the
import is easier?

Thanks!



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Merging library inside project

nophead
I doubt you can use an OpenSCAD library directly in FreeCad. I think you would need to use the library in an OpenSCAD file to actually make a threaded object and then import that into FreeCAD.

On Fri, 27 Nov 2020 at 16:32, Build-0-Matic <[hidden email]> wrote:
Hi!
I'm new to OpenSCAD and I'm currently working on a small project for which I
need some help.
I have found this script on Thingiverse
(https://www.thingiverse.com/thing:3826892) that uses the Threads.scad
library. I need to import it into FreeCAD but the external library seems to
be causing FreeCAD some problems.

I thought of doing my project entirely in OpenSCAD but I'm really bad at
programming, so for me, considering the complexity of my project, it's a
no-go.

Is there an easy way to include the library inside the project so that the
import is easier?

Thanks!



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Merging library inside project

mondo
In reply to this post by Build-0-Matic
There is a fairly comprehensive thread workbench in freecad. That and
the part workbench will produce your bottle. It has 45deg threads for
bottles.

On 27/11/2020 16:32, Build-0-Matic wrote:

> Hi!
> I'm new to OpenSCAD and I'm currently working on a small project for which I
> need some help.
> I have found this script on Thingiverse
> (https://www.thingiverse.com/thing:3826892) that uses the Threads.scad
> library. I need to import it into FreeCAD but the external library seems to
> be causing FreeCAD some problems.
>
> I thought of doing my project entirely in OpenSCAD but I'm really bad at
> programming, so for me, considering the complexity of my project, it's a
> no-go.
>
> Is there an easy way to include the library inside the project so that the
> import is easier?
>
> Thanks!
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Merging library inside project

Build-0-Matic
In reply to this post by nophead
There's actually an OpenSCAD workbench that works fairly well for single file
projects. But with this one FreeCAD hits a wall pretty hard and crashes. I
know FreeCAD creates a link with an installed version of OpenSCAD to do the
calculations, so compatibility should be fine.

I've tried it with some rendered 20x20 aluminum extrusion models and it
worked wonders. But not with this parametric bottle.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Merging library inside project

Build-0-Matic
In reply to this post by mondo
It just that using a parametric model would be such a simple way to design
80% of what I want...
I could export to an STL and then import that in FreeCAD... but I really
dislike using STL files as they are so limiting.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org