Showing Arch_Axis number on TechDraw page

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
flachyjoe
Veteran
Posts: 1869
Joined: Sat Mar 31, 2012 12:00 pm
Location: Limoges, France

Showing Arch_Axis number on TechDraw page

Post by flachyjoe »

Hi,
It seems we can't show the Arch_Axis numbers on TechDraw page, neither the Custom Labels.

Code: Select all

OS: Ubuntu 22.04 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.30018 (Git)
Build type: Unknown
Branch: master
Hash: d68736537e1c0109fdc6c1f7449fd3a43ae4adb6
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
Locale: French/France (fr_FR)
EDIT : Draft_Axis --> Arch_Axis
Last edited by flachyjoe on Mon Aug 08, 2022 8:26 pm, edited 1 time in total.
- Flachy Joe -
Image
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Showing Draft_Axis number on TechDraw page

Post by wandererfan »

flachyjoe wrote: Mon Aug 08, 2022 7:18 pm It seems we can't show the Draft_Axis numbers on TechDraw page, neither the Custom Labels.
I'm not familiar with these objects. Could I have a little file as an example please? Do they not appear in a regular View or is it a DraftView?
User avatar
flachyjoe
Veteran
Posts: 1869
Joined: Sat Mar 31, 2012 12:00 pm
Location: Limoges, France

Re: Showing Draft_Axis number on TechDraw page

Post by flachyjoe »

wandererfan wrote: Mon Aug 08, 2022 7:59 pm Could I have a little file as an example please?
Arch_Axis-TechDraw.FCStd
(29.61 KiB) Downloaded 21 times
wandererfan wrote: Mon Aug 08, 2022 7:59 pm Do they not appear in a regular View or is it a DraftView?
Regular view : only axis, no number
Draft view : axis and number but unusable : no alignement with other objects and no dimension
- Flachy Joe -
Image
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Showing Draft_Axis number on TechDraw page

Post by wandererfan »

flachyjoe wrote: Mon Aug 08, 2022 8:31 pm Regular view : only axis, no number
Draft view : axis and number but unusable : no alignement with other objects and no dimension
The Draft view has to be fixed in Draft/Arch, TD only draws the Svg that Draft provides. I didn't realize that it was limited to one object per view.

For the regular view, we can maybe do something. As it is now, we ask the object for its shape and draw that. Only the line is included in the Axis' shape, so we'd need something new to pick out the numbers, arrows, etc. Not trivial, but not impossible.

We'd end up with something like this:
Attachments
fauxArchAxis.png
fauxArchAxis.png (22.36 KiB) Viewed 601 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Showing Arch_Axis number on TechDraw page

Post by Roy_043 »

wandererfan wrote: Tue Aug 09, 2022 12:39 am I didn't realize that it was limited to one object per view
This is correct, but once created you can change the object to a group containing multiple objects.
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: Showing Arch_Axis number on TechDraw page

Post by paullee »

The DrafView wiki indicates it support Groups, so the current GUI interactive mode behaviour should be fixed ? :)
User avatar
flachyjoe
Veteran
Posts: 1869
Joined: Sat Mar 31, 2012 12:00 pm
Location: Limoges, France

Re: Showing Arch_Axis number on TechDraw page

Post by flachyjoe »

Even if Arch_Axis is shown good in a DraftView, it should be draw correctly in Regular View to allow every TechDraw tools to work with.
- Flachy Joe -
Image
Post Reply