Create some parametrable block

Previous Topic Next Topic
 
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
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
CONTENTS DELETED
The author has deleted this message.
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