This is driven by https://forum.freecadweb.org/viewtopic. ... 03#p342703 which is where I first discovered this, but seemingly has little to do with the SheetMetal Workbench, as this can be reproduced by just creating two sketches and placing them into the TechDraw View, as described below.
FreeCAD Daily version:
Code: Select all
OS: Ubuntu 19.04 (ubuntu:GNOME/ubuntu) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19. Build type: Release Python version: 3.7.3 Qt version: 5.12.2 Coin version: 4.0.0a OCC version: 7.3.0 Locale: English/United States (en_US)
Create a new FreeCAD document.
Create a Sketch, and rename it Sketch1.
In Sketch1, create a rectangle 3in by 3in and constrain the lower left corner to the origin.
Repeat the above and create a new Sketch, rename it Sketch2, but this time have the rectangle be 4in by 4in.
After double-click opening Sketch1, the sketch looks like this:
After double-click opening Sketch2, the sketch looks like this:
Escape out of the Sketch view to be back into the model view.
After selecting Sketch1 the model view looks like this:
After selecting Sketch2 the model view looks like this:
In the model view, select Sketch1, then hold the Shift key down, and select Sketch2. You should see something like this:
Select the TechDraw workbench via:
Download the attached template, USLetter_Landscape_blank.svg, and store it into /usr/share/freecad-daily/Mod/TechDraw/Templates/USLetter_Landscape_blank.svg
Insert a new page using the attached template, using this button:
Click on the "Insert a View of a Draft Workbench object" button:
See the placements are seemingly "centered":
That is not my intent/desire: I want the two Sketches to share the same coordinate system: Instead, it should look pretty much exactly like what I saw earlier in the model view.
If I go into TechDraw page, and manually move the "DraftView" object down and to the left, this is what I would like to see (but asking the user to do that manual move is not the workflow I'm looking for, as eventually this needs to be a part of a SheetMetal unfolding and printing workflow as indicated in the driving forum post above, where the two sketches from the two layers are printed out and aligned according to the original coordinate system):
Granted, if there are use-cases whereby the user actually does want centering behavior, then that should be somewhere in the workflow that is obvious and not hardcoded for centering, giving users a chance to select centering or respecting the originating coordinate system.
Find attached two_sketches_added_to_techdata_page.fcstd please ignore the "techdata" word in file name, it should be
"TechDraw") shows the end result of the above workflow.
So, is there a way for me to avoid that automatic centering behavior such that it respects the originating coordinate system used by both sketches?
Or is this a bug? If it is a bug, then I'll file a bug linked to this forum posting.