[solved] how to set Sketch placement?

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!
Post Reply
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

[solved] how to set Sketch placement?

Post by dprojects »

How to set Sketch placement to have exactly the same place as Cylinder. I know how to do it but I don't understand why there placement x,y,z are different. Also the x,y,z depends on plane, so they can change places.

The question is what is the Sketch placement logic? it is live with its own life? how to set it? is there any place I can read about it? what is going on there? I know what is the AttachmentOffset but is there any way to calculate Sketch placement?

Code: Select all

For example dowel is at: [250, 9, 580]
and the Sketch is (how to calculate the numbers):

Code: Select all

[-250, -9, 0]
the Sketch numbers may not be exactly as dowel starts, but no matter. I am asking about the logic behind the Sketch.

Image
Last edited by dprojects on Mon Aug 01, 2022 9:07 pm, edited 1 time in total.

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
edwilliams16
Veteran
Posts: 3106
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: how to set Sketch placement?

Post by edwilliams16 »

File? It's a lot of work to guess. @dprojects Is the sketch attached? If so, to what?
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: how to set Sketch placement?

Post by dprojects »

Finally get it to work. I was doing to much with the Sketch.

Image

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: [solved] how to set Sketch placement?

Post by chrisb »

dprojects wrote: Mon Aug 01, 2022 8:21 pm How to set Sketch placement to have exactly the same place as Cylinder.
Attach the sketch to the cylinder.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: [solved] how to set Sketch placement?

Post by dprojects »

chrisb wrote: Sun Aug 07, 2022 9:34 am Attach the sketch to the cylinder.
Thanks, but I have already solved this in my own crazy way. Probably I broke all possible Sketch rules but it works very good, I can drill any amount of holes at once and also I can drill thru several pieces of panels and the countersink is in the right place and also the rest of the hole.

However, I delayed the hole feature, because I want to make some kind of machine to move the drill bits in the easy way and also tool (changed the magicDowels) to drill predefined holes in series. The holes feature will be epic. I am not sure it will be legal to share it for free ;-) Maybe if some people see it, they will blow up ;-)


Image

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
Post Reply