Hugo Posted October 29, 2007 Share Posted October 29, 2007 (edited) Does VW 12.x or 2008 have this tool? I need to put the lenghts of several arcs and can't find the right tool (in v12). Thank you. Edited October 29, 2007 by Hugo Quote Link to comment
panthony Posted October 29, 2007 Share Posted October 29, 2007 Hugo, I have not seen any tool available that will place the arc length on a drawing. You can only reach the Arc Len through the OIP and possibly write a script to place the dimenstion. Maybe just and quick to copy/paste from the OIP to a callout for just a couple of arcs. Pete Quote Link to comment
Petri Posted October 29, 2007 Share Posted October 29, 2007 The ever-so-trustworthy Ultirender (www.ultirender.com) has a tool for this. They sell it only through national distributors in dongle-protected countries, though. Quote Link to comment
VectorGeek Posted October 29, 2007 Share Posted October 29, 2007 Hey Hugo, Here's little script I dreamed up to place a text object along an arc. The text value is the arc's length. Hope it helps. V-G {--------------------------------------------------------} Procedure arccalc; {?2007 VectorGeek Corporation} {places text string(s) stating arc length on selected arc object(s)} VAR Radius,ArcLength,startAngleR,arcAngleR,CenterX,CenterY,PrimaryAngle : REAL; Procedure arcer(h : HANDLE); BEGIN GetArc(h,startAngleR,arcAngleR); ArcLength := HPerim(h); Radius := ArcLength/Deg2Rad(arcAngleR); HCenter(h,CenterX,CenterY); PrimaryAngle := (startAngleR+(arcAngleR/2)); IF PrimaryAngle > 360 THEN PrimaryAngle := PrimaryAngle-360; TextSpace(2); TextJust(2); IF (PrimaryAngle>=0) AND (PrimaryAngle<=180) THEN TextRotate(startAngleR+(arcAngleR/2)-90) ELSE TextRotate(startAngleR+(arcAngleR/2)+90); MoveTo(CenterX,CenterY); AngleVar; Move(Radius,#PrimaryAngle); NoAngleVar; BeginText; Concat('L= ',Num2Str(3,ArcLength)) EndText; SetFPat(LNewObj,0); END; BEGIN ForEachObject(arcer,(((T=ARC) & (SEL=TRUE)))); END; Run(arccalc); {--------------------------------------------------------} Quote Link to comment
islandmon Posted October 30, 2007 Share Posted October 30, 2007 Now... then ... that's one kool & clever script. Mr VectorGeek... you're a Godsend ... Quote Link to comment
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.