[Solved] Double offset

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
jfc4120
Posts: 448
Joined: Sat Jul 02, 2022 11:16 pm

Re: Double offset

Post by jfc4120 »

See this image:

Image

Do one of you know how to figure those two angles with a given offset dimensions.

Also if I was looking at xy plane and z was toward me (in and out from screen). I am trying to also figure out how much to do two rotations to a plane that is at first edge view to the view.

A. Rotation about Z
B. Rotation about Y

So I can slice (just easier).
User avatar
onekk
Veteran
Posts: 6199
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Double offset

Post by onekk »

As the sides are equal you coul position the sections and them make ruled surface between them to obtain a solid.

if you want it hollow simoly make two solids one smaller and use this to substract from furst solid.

Sadly I'm not at computer for some days so I could not make a script to make things.

Loft should be doable as it usually made ruled surfaces (if I remember well it has a "Ruled" property for this.

And as you have an equal number if sides it will work without problems.

The only problems could be to find correct angles for wires.

In the Loft wiki page there is a link to a page describing technicalities about Loft it worth a reading.

Hope it help.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
jfc4120
Posts: 448
Joined: Sat Jul 02, 2022 11:16 pm

Re: Double offset

Post by jfc4120 »

I am new so I am going to study the techniques everyone shared.

I solved by two sweeps, then polylines to recreate sections needed. Mid section I did not do but could, but not needed to figure the layout.

From these images you will be able to tell what I did, top image had to do first to get ends.

Image

Image

I did draft and used draft to sketch, I haven't figured out how to manipulate sketch made drawings yet.

EDIT: I guess I could loft mid section.
chrisb
Veteran
Posts: 54166
Joined: Tue Mar 17, 2015 9:14 am

Re: Double offset

Post by chrisb »

If you use the Placement dialog for a sketch (or in case you use Part workbench, for a cuttee cube) you can check the "Incremental" box. Then you can do the rotations one after another.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
edwilliams16
Veteran
Posts: 3179
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Double offset

Post by edwilliams16 »

I didn't find a straightforward way of placing the cutting plane by compounding rotations. The expressions parser doesn't provide full access to the Rotation API - in particular to App.Rotation(vector, vector) to direct the normal of the sketch in a desired direction. My work-around was to create a construction line in the normal direction and attach the sketch to it.


Screenshot 2023-01-25 at 2.30.19 PM.png
Screenshot 2023-01-25 at 2.30.19 PM.png (16.91 KiB) Viewed 485 times
Attachments
compoundcut.FCStd
(11.5 KiB) Downloaded 13 times
jfc4120
Posts: 448
Joined: Sat Jul 02, 2022 11:16 pm

Re: Double offset

Post by jfc4120 »

I get the angles by a small sweep first. Sweep one end then the other. Give me a few minutes I will post something.

Edit:

I have done this fitting 3 different ways in freecad, but I just cannot understand how sketches were used, I have the drawing, but not the steps to duplicate what was done.

Edit 2:

I draw a real quick traditional front top view with a quick auxiliary view to determine how much the compound elbow will take up, and if slicing two quick views to determine the rotation and revolution angles, the standard views go fairly fast since I only need rectangles and center lines to do the calculations.

But as I said including using slice I have solved this four different ways now in freeCAD, but for the life of me I cannot figure out how to solve this using sketches.
Attachments
step3.png
step3.png (34.54 KiB) Viewed 453 times
step2.png
step2.png (14.27 KiB) Viewed 453 times
step1.png
step1.png (25.46 KiB) Viewed 453 times
offset_one.FCStd
(20.37 KiB) Downloaded 10 times
offset_three.FCStd
(11.17 KiB) Downloaded 10 times
edwilliams16
Veteran
Posts: 3179
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Double offset

Post by edwilliams16 »

@jfc4120
Image

Here's another way with no math required. Create sketch scaffolding for an OXY attachment mode for the sketch.
Screenshot 2023-01-26 at 10.53.10 AM.png
Screenshot 2023-01-26 at 10.53.10 AM.png (29.64 KiB) Viewed 367 times
Attachments
compoundcut2.FCStd
(25.67 KiB) Downloaded 13 times
jfc4120
Posts: 448
Joined: Sat Jul 02, 2022 11:16 pm

Re: Double offset

Post by jfc4120 »

@edwilliams16 I will look over, thanks. One thing I do first is a quick 2D view to check for fitting "takeup" amount. An auxiliary view will show I have enough room for the ends.

Edit:

And an extra aux view gives angles and miter distances:

Newly attached image:

Also added completed, center is triangulated, ends not shown, but that is just simple parallel line development.

But I can now do the fitting at least 4 different ways in freecad, but I still cannot figure out how the one answer used the sketches to accomplish this.
I wonder if he used arbitrary angles. I was hoping for a more in depth explanation of how it was done. I am referring to @domad reply.
Attachments
view3d.png
view3d.png (8.1 KiB) Viewed 278 times
step6.png
step6.png (9.43 KiB) Viewed 280 times
step5.png
step5.png (18.66 KiB) Viewed 295 times
step4.png
step4.png (23.25 KiB) Viewed 340 times
Post Reply