• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

quotas on the sides of rectangles (polyline) with only one click

  • Thread starter Thread starter Mano63
  • Start date Start date

Mano63

Guest
Good evening to all,
not so long ago, with the help (big) of crystal, I got a lisp (che allego) useful to quote with a single click the distance between two polylines. on the falserigue of this command, can you get a command that (always with a single click) quoti the side of a closed rectangular polyline? ... (maybe ordering to quote the two nearest intersections). I would clikk a third of the times, and considering that to quote 1 table with 400 rectangles pass several tens of minutes.. .
thanks to all the willing users!
 

Attachments

thanks x11start. Unfortunately when I click on polylinea I give these mixes:1632483947833.webpAm I wrong?
Thank you.
 
I still think I understand that it's not the command I need. dpl with one click would share all sides. I would need instead to make a single click on one side of the rectangle (poliline) to instantly get the share of that side. by clicking different sides of all the rectangles of my boards (400-500 per table) I should get the desired odds. e.g.: 458 click, 458 odds.
Thanks anyway!
 
I believe that it is simply not translated English commands for the international version: open the file with note lock and put the bottom section (this -> _ ) in front of command in English between quotes:
e.g. (command "undo" "begin") becomes (command "_undo" "_begin").
in the doubt I attach the version I have on my pc....

and add the command
(vl-load-com)

serves to charge commands starting with vl-xxx
 

Attachments

Okay, thank you! I downloaded your and it works: with a click puts me a vertical quota (left) and a horizontal (top). It could be even better than I was looking for. Do you think you can "direct" the two odds? i.e. opting over-left rather than over-right or under-left or under the right?
 
definitely is feasible... but it would be necessary to analyze in detail every single passage to understand how the author of the lisp worked... we say it is not such an immediate thing: it is possible that other more experienced subscribers can find a solution in more reasonable times.
 
better than clicking 3 times. with dim you need 2 clicks. If I succeed by clicking once I will have done center! thank you! !
 
dpl could be the right base: one click and two odds. Unfortunately, however, the quotas are entered to 2250 units on the relevant side. so the ideal could be a mix of the two commands.
1) With dpl can you adjust the distance? [il testo della quota è alto 500, la distanza dal lato andrebbe bene 100 o 150]
2) [già domandato, v. sopra] can the two quotas be "directed"? i.e. opting over-left rather than over-right or under-left or under-right?
Thank you. !
 
The line...

(setq dimspace~) (getvar "dimscale") (getvar "dimtxt") 3)); between quota parz and quota tot

set the distance between partial and total quota: change #3 by adjusting it to what you need.

similarly:

(setq p0 (polar x1y1 pi (* dimspace~ 1.5)); dist between parz and polylinea

... here you have to change the 1.5

regarding the positioning of quotas I suppose (but I did not try!) that if you change...

(command "_dim1" "_ver" (car left@) (last left@)

in

(command "_dim1" "_ver" (car right@) (last right@) p0")

the quota will be made to the right instead of left.. .

.... in short, "play a bit", remembering to always keep a copy of the original file.
 
@ p11start: ok, now
- dpl (modified as from your precious suggestion) with a click inserts 2 odds to the desired distance from the polylinea
- dim inserts, clicking on the side, 1 single quota with 2 clicks (1 on the side of the polyline and 1 on its extreme - one or the other, indifferently)
apparently it is better dpl, but while with dim the quotas remain associated, with dpl no, with the problem that to change the polylines you have to use iron and create a window to include the quota in the stretching).
Unfortunately, not even dimassocia is decisive.
However thanks to your help I made a giant step! !
 
...- dim inserts, clicking on the side, 1 only share with 2 clicks (1 on the polylinea side and 1 on its extreme - one or the other, indifferently)
I apologize if I return to this aspect that I mentioned in my previous post, only to avoid misunderstandings.
with dim, if you select the side, you don't need to select the "relative extreme" per quotare.
 
I have a bad relationship with membership fees! ?
 
in my work I have a quantity of closed polylines (95% of rectangular/quadrate vaults) subject to continuous stretching (it is not plans, but sales of exhibition spaces). the question whether to use membership fees or data fields has never been resolved. I find myself better with data fields, even if the processing time is greater, with data fields it does not escape anything (the size of the sides, nor the size of the surfaces associated with a net), but my colleagues use the quotas (not always associated), with the risk that they do not stretch together with the polylines. . .
for me data fields - membership fees 6-0 6-0 ......
 
@gp:
"with dim, if you select the side, you don't need to select the "relative extreme"to quote." . .
will be the mouse key setting? to me after the selection of the side asks another point, and I give either the extreme or the middle point of the side.
 
...to me after the selection of the side asks another point, and I give either the extreme or the middle point of the side.
you can quote directly the side, it also works with the inserted osnap, but if you remove it (osmode = 0) it is better.. .
637.gif
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top