Create some parametrable block

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

Create some parametrable block

Rylos
Hello all,

I have always the same shape to draw.  

For an easy example  I draw often an disc with inside diameter and outside diameter.
I woulk like to select an "Disc block" and that the software ask me :
- Give me the "Outside Diameter" and after give me the "Inside Diameter"
With these information the software draw the disc with the input values.

Is it possible yo create these sort of block?

Thank you very much for your answer.
Reply | Threaded
Open this post in threaded view
|

Re: Create some parametrable block

dxli
Administrator
1, use "Edit Block";
2, create a plugin (C++);
3, use LibreCAD V3 scripting, but v3 still has a long way before a stable release.

Rylos wrote
Hello all,

I have always the same shape to draw.  

For an easy example  I draw often an disc with inside diameter and outside diameter.
I woulk like to select an "Disc block" and that the software ask me :
- Give me the "Outside Diameter" and after give me the "Inside Diameter"
With these information the software draw the disc with the input values.

Is it possible yo create these sort of block?

Thank you very much for your answer.
Reply | Threaded
Open this post in threaded view
|

Re: Create some parametrable block

Rylos
Thank you for your answer.
To do that it's necessary to know C++?
It's easy to do ?

Today you advice or not to install V3 version ?
Reply | Threaded
Open this post in threaded view
|

Re: Create some parametrable block

R. van Twisk
Administrator

V3 is missing a lot right now most notably it's missing DXF export.

With this year's GSoC we will be working on actually making something working.
But in the end it should be considered as a pre-pre alpha version.

Ries

On May 8, 2016, at 3:21 PM, Rylos [via LibreCAD] <[hidden email]> wrote:

Thank you for your answer.
To do that it's necessary to know C++?
It's easy to do ?

Today you advice or not to install V3 version ?


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Create-some-parametrable-block-tp5713668p5713672.html
To start a new topic under CAD templates, blocks etc...., email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Create some parametrable block

Rylos
Ok thank you for your Answer.

So today there is no solution with V2.10 version ?
Reply | Threaded
Open this post in threaded view
|

Re: Create some parametrable block

Kozbot
I suggest to do what I am doing for 2.xx versions and create an external program that generates a dxf file.

I am using python with ezdxf package currently to create files and then save them into my part library.

Regards,
Kozbot