Page 1 of 2

move center of detailed view

Posted: Thu Feb 07, 2019 12:21 pm
by bernd
Attached a file. The center of the detailed view is in any cas the same point. I was not able to use another point or edge as detailed view center point. How can the detailed view be moved to see something different?

bernd

screen.jpg
screen.jpg (124.37 KiB) Viewed 2370 times

techdraw-detail.FCStd
(33.02 KiB) Downloaded 51 times

Re: move center of detailed view

Posted: Thu Feb 07, 2019 12:50 pm
by Syres
I assume you are talking about the Detail View Anchor Point which has a X,Y & Z offset from centre?
TechDrawDetailAnchorPoint.jpg
TechDrawDetailAnchorPoint.jpg (19.32 KiB) Viewed 2359 times

Re: move center of detailed view

Posted: Thu Feb 07, 2019 3:23 pm
by wandererfan
bernd wrote: Thu Feb 07, 2019 12:21 pm How can the detailed view be moved to see something different?
Just as @Syres said. The X/Y of the AnchorPoint controls the center of the Detail on the original View.

Re: move center of detailed view

Posted: Fri Feb 08, 2019 12:10 pm
by bernd
:D

screen.jpg
screen.jpg (208.04 KiB) Viewed 2303 times

It takes some time to get what one would like to have. Change radius, change scale, move ancor. All this has to be done in Property View with numbers. Would be cool if this could be done in the paper with the mouse, but I assume this is not possible ATM ?+

Anyway It is possible with TechDraw to get on paper, what one has in mind. This is really cool.

bernd

Re: move center of detailed view

Posted: Thu Feb 28, 2019 6:54 am
by rradler
Is there a way to find out the x/y values of the desired center other than entering some values for the anchor point and see what happens? In my case they don't match the x/y values of the body coordinate system. (For some reason the x value does, but the y value doesn't.)
Anyway It is possible with TechDraw to get on paper, what one has in mind. This is really cool.
Sure? E.g. a thread?

Re: move center of detailed view

Posted: Thu Feb 28, 2019 2:07 pm
by wandererfan
rradler wrote: Thu Feb 28, 2019 6:54 am Is there a way to find out the x/y values of the desired center other than entering some values for the anchor point and see what happens?
That's what I usually do. Need to add some feedback on cursor position in v0.19
rradler wrote: Thu Feb 28, 2019 6:54 am In my case they don't match the x/y values of the body coordinate system. (For some reason the x value does, but the y value doesn't.)
Details please. Version? Sample file? Always? Sometimes?

The anchor point is based on the projection in the BaseView, not a 3D model point.

Re: move center of detailed view

Posted: Thu Feb 28, 2019 7:37 pm
by rradler
Freecad Version
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15987 (Git) AppImage
Build type: Release
Branch: master
Hash: be45d5e7bab63a9c8566803ea1394d88445251dd
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
The anchor point is based on the projection in the BaseView, not a 3D model point.]
How does it relate to the 3D model point?

Here is an example file. The anchor piont of the detail is 148/390/0. When I go to the 3D model than the x coordinate matches but what is the 390? I am looking for a systematic way to set the anchor point. The best solution would be to set the anchor point by mouse click.

Re: move center of detailed view

Posted: Thu Feb 28, 2019 11:40 pm
by freedman
One way I could think of to create the detail;
Create detail like we do today and have it selected.
Then, an option to hold down a control key and redraw the detail box where you want it.

I'm not writing the code so just a thought. :)

Re: move center of detailed view

Posted: Fri Mar 01, 2019 1:13 am
by wandererfan
rradler wrote: Thu Feb 28, 2019 7:37 pm The anchor piont of the detail is 148/390/0. When I go to the 3D model than the x coordinate matches but what is the 390? I am looking for a systematic way to set the anchor point.
Clicking on the Base would probably be better, maybe in v0.19. Until then, here is how it works:
DetailWiki.png
DetailWiki.png (14.07 KiB) Viewed 2101 times
AnchorPointSmall.png
AnchorPointSmall.png (25.99 KiB) Viewed 2101 times

Re: move center of detailed view

Posted: Fri Mar 01, 2019 8:36 am
by rradler
Thanks, I think I got it. The x axis of the 3D view and the TechDraw view are matching in my case and the y axis of the TechDraw view actually is the z axis of the 3D view, but with the origin shiftet. So the y-value of the anchor point ist (40 + 820)/2-40 = 390.

An explanation in the Freecad wiki woult be very helpfull.