Jump to content

MullinRJ

Member
  • Posts

    1,991
  • Joined

  • Last visited

Posts posted by MullinRJ

  1. Hi Gideon,

    Leaving that preference ON will noticeably slow down all PIO scripts, especially the big ones. When developing PIO scripts I leave it on all the time, and toggle it off when I want to see how a script will perform in reality. Under normal operating scenarios I leave it OFF.

    Raymond

  2. But the beauty of scripting is you only have to type it once.

    If you want to be able to use the code in your script to draw several lines, define a procedure with the code and call it once per line you want to draw.

    	procedure LinePolar(X, Y, L, A :Real);
    { Draw a Line from point (X, Y) to another point specified by length L and angle A (in degrees). }
    Begin
    	A := Deg2Rad(A);		{ change A to radians }
    	MoveTo(X, Y); 			{ Move to first point }
    	LineTo(X+L*cos(A), Y+L*sin(A)); { Draw to second point }
    End;		{ LinePolar }

    Instesd of MoveTo(); and LineTo(); calls to draw a line, use:

    LinePolar(1, 2, 5, 53.1301);

    which is the same as:

    MoveTo(1, 2);

    LineTo(4, 6);

    The same could be done for LineToPolar(), which you may want to use if you are chaining segments together. Let me know, or try your hand at it. It's not hard. Though, if that's the case, you probably should be using Polygons.

    HTH,

    Raymond

  3. Hi Gideon,

    You have to convert your distance and angle to X & Y displacement, but it can be done with a few lines of code.

    MoveTo(X, Y); { Draw first point }

    A := Deg2Rad(A);

    dX := L * cos(A);

    dY := L * sin(A);

    LineTo(X+dX, Y+dY); { Draw last point }

    where L = Length, and A = Angle in degrees.

    You can also do it with vector math, but it's pretty much the same approach.

    Raymond

  4. There used to be a day when sending an email to BugSubmit@... elicited an automated response. That was a nicety I wish you would reinstate. Even as minor feedback, at least it indicates you receive the post. Without it, I feel less inclined to send bug reports. Apathy needs little nurturing. If you want them, I can use all the help you can afford.

    Thank you,

    Raymond

  5. There used to be a day when sending an email to BugSubmit@... elicited an automated response. That was a nicety I wish you would reinstate. Even as minor feedback, at least it indicated you received the post. Without it, I feel less inclined to send bug reports. Apathy needs little nurturing. If you want them, I can use all the help you can afford.

    Thank you,

    Raymond

    PS - This is really a Wish List item. I'll repost there, too.

  6. Are you on a PC? If so, you have to know where to place the cursor at the end of the line where a shortcut key would display (if it were there), click and highlight an invisible text entry box, then enter your key choice. Simple, huh?

    If you're on a Mac, with the menu command highlighted, just type the key choice and it magically appears where it should.

    HTH,

    Raymond

  7. right-click (control-clicking for those with one-button mice) on any object with editable properties;

    select "Properties" in the pop-up menu;

    enter the desired changes in the Properties pallet and hit "Enter" or click "OK" to exit.

    That will get you part of the way where Reshaper will take you, but it only addresses the annoyance part of typing in the OIP. You still only get to see the same fields you see in the OIP, not the plethora of extra attributes accessible with Reshaper.

    And there's NO Rotated Rectangle support anywhere in VW (yet) - just in case you wanted to compare your apples to my apples. ;-)

    Raymond

  8. 10. Rectangles supporting 2d reshape without having to apply a ?convert to polygons?.

    Mr Gog,

    While I'm evangelizing Reshaper tonight (shamelessly, too), I'd like to let you know that you can at this very moment, edit rectangles in any rotated orientation - with Reshaper. Sorry, there's that small catch. But you can evaluate it for free, if you'd like, just for asking.

    If interested, email me offline at: mullinrj@aol.com. Send me the last 6 characters of your VW serial number and I'll send you Reshaper 12 and a KEY that enables the full package for your machine. In addition to being able to edit Rotated Rectangles today, you'll also get 24 other edit modules at the same low price - FREE.

    All the best,

    Raymond

    mullinrj@aol.com

    Oh, I forgot to mention - even when a Rectangle is rotated, you can anchor any one of its 4 vertices (or 4 mid-line points, or center) and rotate it again about that point, or move that selected anchor point to any coordinate, or snap it interactively in the drawing with the Next Click option - OR - you can change the length, width, snap point position, and rotation all at the same time. Reshaper even works on Polylines the same way if the 4 vertices are properly aligned.

    I know it sounds almost too good to be true, but you'll have to see it to really appreciate it. - Raymond

  9. Hi Fred,

    That little annoyance prompted me to start writing Reshaper about two and a half years ago. It took about 10 years for me to get started (I must have a high annoyance threshold) but it was well worth effort. If you use it you will never over-type a data field in the OIP again.

    It works like you think it should. Select an object, Open Reshaper (best done with a hotkey), Change your data, and hit ENTER. You're back where you left off, in the drawing and able to change tools or continue with the one you have. You also save that extra little mouse click needed to "energize" the OIP to change a value. (Hey, it adds up!)

    As I said, I started to write Reshaper for that reason, but shortly thereafter the focus of Reshaper changed to enable VW to present all pertinent object data in one window. It is most obvious when editing 3D objects, like the 3D Symbol you mentioned. Not only can you position it in 3D space, but you can also see and set its rotation values, and its Flipped state.

    For other 3D objects like Extrudes, 3D Polys, Meshes, Solids and PIO's you can also position them in the current view by selecting one of the standard 9 anchor points of its Bounding Box (BBox) and changing its 2D coordinate or use the Next Click option and have it snap to your next mouse click in the drawing. You don't have to worry about which axis is where, it's all about left, right, up and down relative to some point on the BBox, AND it's all in the current view. It could be simpler, but you would have to have someone else do it for you.

    If you'd like to try an Evaluation Copy of Reshaper 12, please drop me a line at: mullinrj@aol.com. Include the last 6 characters of your VW serial number and I'll send you Reshaper and a Key to enable it for your machine.

    Or, learn to click in the drawing after you change a parameter in the OIP. You should be able to master that in the next 10 years, I'd think. :-)

    All the best,

    Raymond

    PS - Oh, the offer's still good, even if your name's not Fred.

  10. Hi David,

    Until editing Rotated Rectangles is possible directly with VW, you can edit them in a rotated fashion with Reshaper 12.5.2. I am offering an evaluation copy of Reshaper 12 to those who would like to have access to editing objects in a more intuitive way. Rotated Rectangles are one of many features that Reshaper 12 provides that work more in accordance with the way we think about the things we draw.

    There is no magic applied to Rotated Rectangles, aside from extensive analytical geometry. Once a Rectangle is rotated it becomes a Polygon in VW. Reshaper recognizes such Polygons (and Polylines) and treats them like the Rectangles you think you see. Change the length, width and rotation, anchored at any vertex, center of side or object center, directly through your keyboard. You can even use the Next Click option to interactively click the object into position.

    If you would like to try an evaluation copy of Reshaper 12, please contact me offline at mullinrj@aol.com

    All the best,

    Raymond

  11. If you would like to try an evaluation copy of Reshaper 12.5.2, you will find that Arcs can be edited in the ways you desire and possibly quite a few more. Even the units will display as you like them. And like the data fields in the OIP, simple math (with units) can be entered and evaluated with Reshaper. (A quick example: an Arc Radius is 3' 7", you need it 3 cm larger, simply input 3' 7" + 3cm. The correct result will be calculated without you doing a unit conversion.)

    With Reshaper, you can anchor the standard 9 position bounding box PLUS the Start, Middle and Stop points. Additionally, the Arc Length, Chord Length, Start Angle, Stop Angle, Sweep Angle and Mid Angle can be held constant while editing other other parameters.

    Some of these edits can be done graphically, but without the exacting precision of being able to specify the values numerically. Reshaper gives you quick and easy access to that precision.

    There are even more ways to edit an Arc with Reshaper that would be too tedious to explain at this time.

    If you would like to try an evaluation copy of Reshaper please contact me offline at mullinrj@aol.com

    All the best,

    Raymond

  12. pschlie,

    I have waited many weeks to respond to this and other similar posts. I am offering an evaluation copy of Reshaper 12.5.2 that will display all the information you have outlined, and Reshaper will also let you edit this information when appropriate.

    The Bounding Box (2D size) requires that your view be orthogonal to the object to be able to change it. Reshaper lets you edit your objects in situ in ANY view you choose. You can anchor any corner point, center of side, or center of the object and specify its relative 2D position in your current view, or specify its position interactively with the Next Click option.

    3D rotation values are always displayed and editable as is the 3D center of the object. Likewise, so is the Flipped state.

    If you would like to try an evaluation copy, please contact me offline at mullinrj@aol.com.

    All the best,

    Raymond

  13. Dave,

    In response to your initial question, my latest version of Reshaper (v12.5.2) displays the data you are looking for. It shows the relative 2D size (Bounding Box) and 2D and 3D position of an Extrude (also, Multiple Extrude, 3D Poly, Mesh, and CSG Solid) in ANY view.

    You can use the corners, sides and center of the current Bounding Box to anchor, resize and/or relocate these 3D objects. Reshaper also gives you access to 3D Rotation Angles and the Flip State of objects that have these attributes. All fields are editable at all times, except the bounding box which is only editable when viewing the object from an orthogonal position. Reshaper (knows) when you are in such a position and allows Bounding Box edits at such times.

    If you would like to try an evaluation copy of Reshaper, please contact me offline at mullinrj@aol.com.

    All the best,

    Raymond

  14. dcont,

    I have just finished updating my Reshaper utility to version 12.5.2 and it includes the ability to handle Rotated Rectangles. This is not an approximation using PIOs or any "cheap" tricks.

    You can take a Rectangle, rotate it with VW or Reshaper, or start with the Rotated Rectangle tool in VW (which creates a polygon) and resize it in any rotated position in length and width. When rotated, it is a Polygon but Reshaper treats it like a Rectangle with a rotation field. There is even a button to convert it back to a Rectangle when the rotation is a multiple of 90?, if so desired.

    You can spin it or resize it about any corner point, center of side, or center of rectangle, using the standard anchor points. All graphic attributes remain attached at all times, fills, line widths, colors, gradient fills, hatches, names, even attached records.

    Actually, any Polygon or Polyline with 4 vertices in a rectangular array will be editable as a Rotated Rectangle using Reshaper. Vertex types can be mixed and sides can be hidden - it's still editable.

    This is only one feature that makes Reshaper an invaluable tool for every day drafting. Reshaper also works with 24 more VW object types.

    If you contact me offline, I will forward you an evaluation copy.

    mullinrj@aol.com This evaluation offer is open to anyone.

    All the best,

    Raymond

  15. VW 10 & 11 also run on my Intel Mac.

    I'm keeping my G4 in good working order for as long as possible. There are quite a few programs I don't want to let go of just yet, but losing connection with MC files would be a crime.

    Raymond

    VW 12.5 / MacMini / OS 10.4.8

    MC 2 -> VW 11 / G4 / OS 10.4.8

  16. Press the "A" key twice fast, or double-click on the Snap-To-Grid constraint button and the "Set Grid" dialog box will appear. Set the Grid Options the way you like.

    If Show Grid Lines is on and you zoom way out the blue grid will disappear. They will reappear when you zoom back in.

    I am not sure what you mean by "accurate polylines", but setting the constraints is key to drawing precisely. It is possible to change constraints as you add vertices to a polyline so memorizing the keyboard shortcuts to the constraints is also very important to being able to draw quickly and with confidence.

    Write back if you have more questions.

    HTH,

    Raymond

×
×
  • Create New...