Show messages:
1-20
21-40
41-60
61-80
…
121-138
From: Moier (STARDUST)
Hi Moi'ers
Is it possible to add dimensions and angles of a model, as in sketchup, by adding a script?
I think it would be very useful :)
Stardust
From: Frenchy Pilou (PILOU)
you can use the free Design Spark Mechanical for this sort of thing!
And advantage you can make the Fillets that have some problem in Moi! ;)
http://moi3d.com/forum/index.php?webtag=MOI&msg=6186.1 and see message 24 ...
From: Michael Gibson
Hi Stardust,
> Is it possible to add dimensions and angles of a model, as in
> sketchup, by adding a script?
Sorry no, that's not really feasible for a script. Scripts can do things like automate existing functionality but dimensions are something that need need low level support in the draw engine, they're not like just automating and repackaging existing functionality like a script can usually do.
So it's not really something that can be added by a script, it needs to be added more directly into some of the core MoI modules.
> I think it would be very useful :)
Certainly it would be! I am planning on working on it for v4.
- Michael
From: Moier (STARDUST)
Thank you Michael, sounds promising for v4
From: Max Smirnov (SMIRNOV)
I wrote this script today evening for my friend. It's very primitive, but it's better than nothing. :)
I have no plans to continue developing of this script. Sorry.
From: Frenchy Pilou (PILOU)
I have not the "little Lines" of extremities!
Must I draw them separately ?
And alas we can't use the Helpers lines for align because of the second click ! :)
Seems Scale inactive! ?
French Version
http://moiscript.weebly.com/cotations.html
From: christian (CHRI)
hi Max
Many thanks for this great present .
i don't think that's primitive , for me , it's a major improvement .
Thanks again
Chri from France
From: Hamish Mead (HAIRYKIWI)
Very useful - many thanks Max! :)
Hi Pilou:
> I have not the "little Lines" of extremities!
Me neither.
> Must I draw them separately ?
I guess so. Max?
> And alas we can't use the Helpers lines for align because of the second click !
Any helper lines can be created immediately after starting script but before first click defining location of dimension arrow head #1.
> Seems Scale inactive! ?
It's activated after 'first click' for arrowhead #1.
Cheers,
Hamish
From: Frenchy Pilou (PILOU)
<< but before first click defining location of dimension arrow head #1.
Ahhh yes! Different than the normal use of a script!
So cool!
<< It's activated after 'first click' for arrowhead #1.
Ahhhh yes! Funny use! So very cool! :)
From: eric (ERICCLOUGH)
Hi ..
Showing my ignorance about scripts ..
How do I install this script and use it ?
Cheers, and thanks,
eric
From: phlatt5th (P5TH)
Hi Max, thank you for the dimension script it is very useful.
Cheers!
From: christian (CHRI)
HI eric (ERICCLOUGH)
first time
You need to copy the two files in the commands folder of MOI
second time
you need to add the shortcut keys and the command :
_dimensions
Chri from France
Image Attachments:
Image1.png
Image2.png
From: eric (ERICCLOUGH)
Thanks Christian,
eric
From: Max Smirnov (SMIRNOV)
Script update. Fixed few bugs. Changed internal structure. Script modifications should be easier.
Frenchy Pilou
>> Must I draw them separately ?
Yes, you should draw them manually.
>>And alas we can't use the Helpers lines for align because of the second click ! :)
You can use LockConstructionLine script
code:
var cln =0, gd = moi.geometryDatabase, cl = gd.getObjects().getConstructionLines(), cll = cl.length;
for (var i=0; i<cll; i++) if (!cl.item(i).isTemporary) cln++; if (cln == cll) { gd.removeObjects(cl) } else { cl.setProperty( "isTemporary", false ) }
Bind it to key. Draw construction lines. Run script (the lines will be locked). Run script again to delete the lines.
Hamish, Chri, phlatt5th
Thank you :)
From: Frenchy Pilou (PILOU)
Cool!
French version Updated! :)
http://moiscript.weebly.com/cotations.html
From: krass
Max, that's fine!
This is what the Bolsheviks were dreaming! ))))
I download and run the testing. Thank you very much!
You are, as always, is a genius!
From: Max Smirnov (SMIRNOV)
Forget to say about hidden features.
Double click title to load default values
Double click "Scale" to reset scale.
From: Frenchy Pilou (PILOU)
All day a nice surprise! :)
From: Mik (MIKULAS)
Beautiful script, Max!
as usual... :-)
Thanks for sharing.
Mik
From: MajorGrubert (CARLOSFERREIRAPINTO)
Thanks a lot, Max. Its quite usefull.
Show messages:
1-20
21-40
41-60
61-80
…
121-138