News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

how to modify size to a set value for rotated rectangle

Started by nextenso, March 02, 2018, 08:59:55 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

nextenso

Hi, not used Turbocad for several years, upgraded to Pro Platinum 2017, excuse me if I ask a question I should know. Nothing comes up in search.

In my drawing I have a rotated rectangle, it represents a roof rafter which was drawn 4m long and 125mm deep at 40 degrees

I wish to modify this to 100mm deep. On selecting the drawn object, size X and Y only show the dimensions of the bounding box encompassing the 'rafter' at 40 degrees.

Using node edit tool would allow me to drag in the rafter depth at each end, but, it is a clumsy way of doing this and difficult to get the rafter depth to an exact required value.

It seems the true values of the object size only show when first drawing, or if the object is square to x and y.

Using the edit handles of the bounding box to resize a rotated object produces a distorted object if I only want to change one dimension.

I could use 'scale' with one dimension locked, but, that requires a difficult calculation to work out the value of scaling to produce the exact dimension to reduce to.

I am sure (hope) I am overlooking a simple setting that will show the real dimensions of a rotated rectangle or similar rotated object and ability to enter the dimension to modify to.

Hopefully someone can help me.

Regards Jonathan
Regards Jonathan

Henry Hubich

I don't see any obvious way to do this. However, if you're working in 3D mode, you can establish a new Workplane by Z Axis, vertex-snapping to the endpoints of one of tbe sides. You'll then be able to edit the Size fields in the Inspector Bar.

Henry H

Andy H

A couple of extra alternatives

If in 2D mode,  select the rectangle, relocate the reference point to one corner, hover over the rotation node, press CTRL and click the node to pick it up,  snap it to another corner, this will temporarily change the bounding box allowing for the new size to be entered.

An alternative method for 2D objects in 3D mode is -  change 3D selector coordinate systems to User - User, select workplane by 3 points snapping x and y to the rectangle as required, select and adjust the dimension,  (also works on 3D objects). re-set coordinate system as required.

John R

Use the "Line Length" tool in the Modify menu.

  • Tab into the "Length" field and input "100", then "Ctrl+L" to lock that field.
  • Click on the line to be shortened.
  • You should see a highlighted portion, which will be the finished line.
  • Use "Esc" if the wrong end is highlighted. It depended on where you click along the line.
  • Click again or "No Snap" (S key) to finish the operation.
  • Repeat for the other side.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Torfinn

or just move the ref point to one of the corners, move the cursor over one of the end of "Arrows" that fit the directions press the seke that suit and move it to that point, when still selected, just change the value you want.
in 2D or 3D, whater way it is 40 degree in this will work.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Dean

Attached is a video of how I would do it.
temporarily adjust the 'shell shape"
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

murray dickinson

IMO it's easier to draw another rotated box than edit. Snap to the existing one for length, enter the depth, cut the existing one.

Alvin Gregorio

Another way:

Snap a Parallel Construction Line, parallel to the 4m-long side that you want to remain fixed; the Offset being 100mm.
Use the Edit Tool to edit each of the other corner nodes, Intersection Snapping to the intersection of the Parallel Construction Line and the 125mm side.
    Holding down the Shift Key after having selected the first corner node with the Edit Tool, will allow you to include the other node in the selection, and you can move the two in tandem, using the same Intersection Snap procedure.

_________
It would be good if the Selection Info Palette provided an easily editable solution; but it does not seem to.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

#8
Auto constrain the rectangle, auto dimension the side line's depth with a parallel dimension, change the value from 125 mm to 100 mm in variables palette. 

nikkipollard

I agree with Murrays first comment. Sometimes we spend hours trying to figure out a way to do something
when redrawing it is probably the quickest simplest method. Unless you want to change the angle often - then constrain it.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: murray dickinson on March 02, 2018, 01:34:19 PM
Auto constrain the rectangle, auto dimension the side line's depth with a parallel dimension, change the value from 125 mm to 100 mm in variables palette.

I think we would also need to add two Points Coincident Constraints.  The two (now 125mm, then  100mm) side lines vertices with the to-be-moved 4mm line.

Right?  Don't we still need to Explode the rotated Rectangle into four individual line segments before Constraints will work on it?

(I could be wrong)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nextenso

Many thanks for all the answers.

I will go through each and revert with what works best.

Regards Jonathan
Regards Jonathan

Henry Hubich

Quote from: Alvin Gregorio on March 03, 2018, 08:21:52 AM
Quote from: murray dickinson on March 02, 2018, 01:34:19 PM
Auto constrain the rectangle, auto dimension the side line's depth with a parallel dimension, change the value from 125 mm to 100 mm in variables palette.

I think we would also need to add two Points Coincident Constraints.  The two (now 125mm, then  100mm) side lines vertices with the to-be-moved 4mm line.

Right?  Don't we still need to Explode the rotated Rectangle into four individual line segments before Constraints will work on it?

(I could be wrong)

I just tested this in v21 Pro. It's not necessary either to explode the rotated rectangle or to add further constraints (unless you need to anchor some particular part of the rectangle). After applying Auto Constraint, simply select one of the sides to be changed and edit its Length in the Selection Info palette. That side and the one parallel to it will change simultaneously.

Henry H

Alvin Gregorio

#13
Quote from: Henry Hubich on March 03, 2018, 08:40:41 AM
Quote from: Alvin Gregorio on March 03, 2018, 08:21:52 AM
I think we would also need to add two Points Coincident Constraints.  The two (now 125mm, then  100mm) side lines vertices with the to-be-moved 4mm line.

Right?  Don't we still need to Explode the rotated Rectangle into four individual line segments before Constraints will work on it?

(I could be wrong)

I just tested this in v21 Pro. It's not necessary either to explode the rotated rectangle or to add further constraints (unless you need to anchor some particular part of the rectangle). After applying Auto Constraint, simply select one of the sides to be changed and edit its Length in the Selection Info palette. That side and the one parallel to it will change simultaneously.

Henry H

I must be doing it wrong then.  I:
(Auto Constraints currently Off)

  • Insert a Rotated Rectangle, Size-A=4m; Angle=40°; Size-B=125mm
  • Turn on Auto Constraints, down on the left side of the Inspector Bar
  • Insert a Parallel Dimension, using the "Segment Dimensioning" option, choosing the 125mm segment that is at the top-right
  • Select that just-inserted Dimension.  Go to the Variables palette (cuz I can't see another way, using the Selection Info palette, as Henry stated).  There's no variable to edit in there.

I must be doing it wrong.
I realize Henry didn't mention anything about using Dimension.  But how do we "simply select one of the sides to be changed and edit its Length" if the previously inserted Rotated Rectangle (with Auto Constraints not turned on before/during the insertion, thereby automatically "exploding" the rectangle) without first Exploding it?

EDIT:  I see what I did wrong.  I wasn't applying Auto Constraint correctly.  I needed to be using the Constraint type "Auto Constraint" and apply it to the previously inserted Rotated Rectangle (and hit "Finish").  Upon doing so, the rectangle automatically explodes.
This is a very good and easy to use method to satisfy the original posters first request.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nextenso

Quote from: John R on March 02, 2018, 10:45:24 AM
Use the "Line Length" tool in the Modify menu.

  • Tab into the "Length" field and input "100", then "Ctrl+L" to lock that field.
  • Click on the line to be shortened.
  • You should see a highlighted portion, which will be the finished line.
  • Use "Esc" if the wrong end is highlighted. It depended on where you click along the line.
  • Click again or "No Snap" (S key) to finish the operation.
  • Repeat for the other side.

Thank you John R for the line length solution, a quick easy method.

Re re-drawing, I sought another method as the rectangle representing the rafter is modified with an oblique face at one end (where it meets the vertical ridge board) and drawn notched on the side to be adjusted to receive another timber element. So drawing means re-creating these modified lines. I had hoped, as it turns out, there is a quicker way.

Regards Jonathan
Regards Jonathan

nextenso

#15
Quote from: Dean on March 02, 2018, 11:54:54 AM
Attached is a video of how I would do it.
temporarily adjust the 'shell shape"

Thank you Dean, also a quick and easy method re my comments in my reply to John R.

My thanks to others for workable solutions too.

Regards Jonathan
Regards Jonathan

Alvin Gregorio

Quote from: nextenso on March 03, 2018, 09:03:21 AM
...
Thank you John R for the line length solution, a quick easy method.

Re re-drawing, I sought another method as the rectangle representing the rafter is modified with an oblique face at one end (where it meets the vertical ridge board) and drawn notched on the side to be adjusted to receive another timber element. So drawing means re-creating these modified lines. I had hoped, as it turns out, there is a quicker way.

Regards Jonathan

If you have time, read up on and experiment with utilizing Constraints.
They would come in really handy for what you described.

It takes a bit of getting used to [Constraints].  A bit... it's doable.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)