MisterJingles Posted June 21, 2011 Posted June 21, 2011 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 ... Regards Rob Quote
t1320t Posted June 21, 2011 Posted June 21, 2011 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. Quote
MisterJingles Posted June 21, 2011 Author Posted June 21, 2011 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. Quote
t1320t Posted June 21, 2011 Posted June 21, 2011 Ok. I don't know of a legit hatch solution. I'd prob draw radial lines at the desired spacing then block them. Quote
Tyke Posted June 21, 2011 Posted June 21, 2011 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. Quote
MisterJingles Posted June 21, 2011 Author Posted June 21, 2011 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. Quote
eldon Posted June 21, 2011 Posted June 21, 2011 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. Quote
Tyke Posted June 21, 2011 Posted June 21, 2011 (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. 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 June 21, 2011 by Tyke updated Quote
designerstuart Posted June 21, 2011 Posted June 21, 2011 I think the OP meant normal and not perpendicular what is the difference? i was wondering where the 15° came from! Quote
eldon Posted June 21, 2011 Posted June 21, 2011 what is the difference? i was wondering where the 15° came from! The OP did say Vertical hatching, but I was going for pretty Quote
t1320t Posted June 21, 2011 Posted June 21, 2011 eldon, good solution. I've learned something new today, thanks. Quote
Tyke Posted June 22, 2011 Posted June 22, 2011 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). Quote
MisterJingles Posted June 22, 2011 Author Posted June 22, 2011 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. Quote
eldon Posted June 22, 2011 Posted June 22, 2011 The option that you need is Distance. Then it inserts your block along the line at evenly spaced Distances. You have more options than I have with Measure, so I wonder if it works in the same way Quote
eldon Posted June 22, 2011 Posted June 22, 2011 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. Quote
designerstuart Posted June 22, 2011 Posted June 22, 2011 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! Quote
MisterJingles Posted June 22, 2011 Author Posted June 22, 2011 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 Quote
eldon Posted June 22, 2011 Posted June 22, 2011 This is the advantage of using blocks, simply re-define the block with the line a little shorter I am not sure why your inserted block is longer than when you defined it. My blocks stay the same size. Quote
MisterJingles Posted June 22, 2011 Author Posted June 22, 2011 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? Quote
eldon Posted June 22, 2011 Posted June 22, 2011 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 Quote
Recommended Posts
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.