Jump to content

Recommended Posts

Posted

Hello all,

This is my first post up here. I tried to search this out to no avail.

 

I have an issue where the acad blocks I'm bringing into my automotive packages doesn't match the scale (is no scale on most) of the drawings. Lets use a transformer for an example. I'll bring the block in and explode it. Then grab a node on the transformer via osnap and move it to the endpoint of my first wire. Then scale the transformer using that end point as my basepoint and "eye it" dragging the mouse until the next node lines up with my other wire. This is usually close enough to then move the node by osnap and put everything on.

 

What I'd like to do is scale the transformer and use the first osnap like above for my base point. But instead of the scale command looking for a scale ref/copy/ref - I'd like it to just say pick and osnap the next node on the transformer to the end point of the next wire (like I'm dragging the mouse above) - but exact to a snap point (end of the other wire.)

 

Guess I'm looking to scale to a snap point. Not figure out the scale on every dwg I'm in..... Sorry so long. Let me know if you need more definition. Thanks a ton!!

Mike

Posted

You can't use the ALIGN command to do this? There is a scaling option available.

Posted

Welcome to CADTutor Mike :)

 

If possible, could you post an image of what you are looking to achieve, it is difficult to visualise the transformer and wires setup solely from your description.

Posted

cadtutor.jpg

 

See if this helps. Thanks for such a quick reply! ;)

Posted
You can't use the ALIGN command to do this? There is a scaling option available.

 

Checking...

Posted

Align may be the quickest but you can do that in the SCALE command.

 

After picking the object to scale and providing a base point, use the ref option and snap to two of the circles, then snap to the middle line.

Posted
After picking the object to scale and providing a base point, use the ref option and snap to two of the circles, then snap to the middle line.

 

This is also what I would recommend.

 

I suppose the process could be mildly optimised to reduce a click:

 

(defun c:sr ( / s p )
   (if (and
           (setq s (ssget "_:L"))
           (setq p (getpoint "\nSpecify Base Point: "))
       )
       (command "_.scale" s "" "_non" p "_R" "_non" p pause pause)
   )
   (princ)
)

Posted
This is also what I would recommend.

 

I suppose the process could be mildly optimised to reduce a click:

 

(defun c:sr ( / s p )
   (if (and
           (setq s (ssget "_:L"))
           (setq p (getpoint "\nSpecify Base Point: "))
       )
       (command "_.scale" s "" "_non" p "_R" "_non" p pause pause)
   )
   (princ)
)

 

I'm going to mess with this. Just on a hot job.... Have to get this darn thing released by this afternoon...... Story of my life.....

Posted
Align may be the quickest but you can do that in the SCALE command.

 

After picking the object to scale and providing a base point, use the ref option and snap to two of the circles, then snap to the middle line.

 

That's it!!!! Threw me for a loop because once I selected reference the last scale factor was still there. Once I hit shift-left mouse and the osnaps appeared I figured it out. Thanks U guys! This will help greatly as every project i get on has different scales...... That's gonna change real fast....;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...