Jump to content

Recommended Posts

Posted

Hi all

 

I want to know if there is a way to make the vertical hatching angle move with the curve of the object being hatched.

 

In other words how do I/can I stop this ...

 

Hatch-1.jpg

 

Regards

Rob

  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

  • MisterJingles

    8

  • eldon

    7

  • Tyke

    3

  • t1320t

    3

Top Posters In This Topic

Posted Images

Posted

You want the hatching to be parallel to the boundary lines of the "S" shape? If so, I don't know if it's possible. I'd do a "workaround".... offset those lines the desired distance, put them on your hatch layer, then block them.

Posted

No in fact the opposite, Id like them perpendicular to the walls of the S shape.

 

Edit: Sorry not perpendicular, at an angle to the walls. I'm finding it tough to explain.

Posted

Ok. I don't know of a legit hatch solution. I'd prob draw radial lines at the desired spacing then block them.

Posted

There are sveral LISP routines that place lines normal to the curved elements that would do what you want. Check out Lee Mac's site, I think he has one.

Posted

Thanks guys. I was hoping there was a quicker way to do it than to do it manually as I have kilometers worth of cable sleeves to do and am dreading doing it manually.

Best I keep the kettle going.

 

Tyke Im on LT, thanks though.

Posted

Do you have Measure on LT?

 

If so, you could make a temporary centreline, make a block of a line at 15 degrees and Measure along the centreline.

PseudoHatch.jpg

Posted (edited)
Thanks guys. I was hoping there was a quicker way to do it than to do it manually as I have kilometers worth of cable sleeves to do and am dreading doing it manually.

Best I keep the kettle going.

 

Tyke Im on LT, thanks though.

 

Sorry about that Mister Jingles.:oops:

 

Are your cable sleeves always the same width?

If yes, draw a perpendicular line with a length the same as the sleeve width. Make a block of it with the insertion point at the lower end of the line. If one side of your sleeve is not already a polyline, use PEDIT to make it one. Enter the command MEASURE enter B for block, enter the block name, enter YES for align with object and enter the spacing you require. See if that is acceptable, without using LISP :wink:

 

Eldon's idea of a centreline would be better at spacing the blocks around the curves. I think the OP meant normal and not perpendicular and if so the 15° is not required. But he now has enough info to do something in the way he wants.

Edited by Tyke
updated
Posted
I think the OP meant normal and not perpendicular

what is the difference? i was wondering where the 15° came from!

Posted
what is the difference? i was wondering where the 15° came from!

 

The OP did say Vertical hatching, but I was going for pretty :lol:

Posted

eldon, good solution. I've learned something new today, thanks.

Posted
what is the difference? i was wondering where the 15° came from!

 

Perpendicular is at an angle of 90°, usually to a straight line, because its difficult to measure an angle from a curved line. Normal is a similar situation for a curved line and when the line is a curve or circle the normal when extended passes through the centre point. Normal can also apply to surfaces or any type of curved line (spline etc).

Posted
Do you have Measure on LT?

 

If so, you could make a temporary centreline, make a block of a line at 15 degrees and Measure along the centreline.

 

Eldon yes I have MEASURE. I've fiddled around with your solution but perhaps its because I had 2 hours sleep last night but I can get it right.

I have my center line, I have my blocked Line segment (Basepoint center) but not sure how Id use the measure command in this instance?

The 5 options I have within the MEASURE command are DISTANCE, RADIUS, ANGLE, VOLUME and AREA.

Posted

The option that you need is Distance. Then it inserts your block along the line at evenly spaced Distances. :D

 

You have more options than I have with Measure, so I wonder if it works in the same way :unsure:

Posted

This is from my Help file on what the command MEASURE does.

 

Places point objects or blocks at measured intervals on an object

 

Draw menu: Point Measure

 

Command line: measure

 

Select object to measure:

 

Specify length of segment or [block]: Specify a distance or enter b

 

The points or blocks drawn by MEASURE are placed in the Previous selection set, so you can choose them all by entering p at the next Select Objects prompt. You can use the Node object snap to draw an object by snapping to the point objects. You can then remove the points by entering erase previous.

 

AutoCAD places the markers in the user coordinate system (UCS) of the object being measured (except for 3D polylines in the current UCS). Markers are always placed on the object, regardless of the elevation settings.

 

If you use point objects for the markers, you can make the points easier to see by changing their appearance with thePDMODE system variable.

Posted
Perpendicular is at an angle of 90°, usually to a straight line, because its difficult to measure an angle from a curved line. Normal is a similar situation for a curved line and when the line is a curve or circle the normal when extended passes through the centre point. Normal can also apply to surfaces or any type of curved line (spline etc).
thank you!
Posted

Ok I'm getting there. I've got the block doing what I want it to along the center line, the only trouble being the length of the line.

I go as far as drawing the line in place which i want duplicated, then BLOCK it. But when its "inserted" and duplicated its longer than I initially drew

Posted

This is the advantage of using blocks, simply re-define the block with the line a little shorter :D

 

I am not sure why your inserted block is longer than when you defined it. My blocks stay the same size.

Posted

Yeah I can do that thanks. Just wondering why its happening.

No matter, you saved me 2 full days work and I thank you for it.

 

The procedure in doing this doesn't make sense to me. One minute you are going to measure a line and 5 seconds later you are essentially inserting a block along it. Surely ACAD could've placed this more logically elsewhere, under INSERT perhaps?

Posted

If I want to know how long a line is, then I either list it or use Dist command (which measures the distance and angle between two points).

 

I suppose it is all part of learning the commands in AutoCAD, which may not seem entirely intuitive at times :?

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...