Skip to content

Support for FreeCAD 1.0 and later #49

@dprojects

Description

@dprojects

Note

Currently officially supported version is FreeCAD 1.0.1. However you still can use the fast and stable FreeCAD 0.21.2 version, I will try to keep backward compatibility as long as possible.

Caution

Currently unsolved known issues at FreeCAD 1.0.1:

  • unsolved: units not works... for example if you change units "Edit -> Preferences -> General -> Default unit system -> Building" the units not change in the data object window... broken FreeCAD function Units.getSchema(), always return 10 but the last schema index is 9... workaround: change units via right bottom corner to get units working at once, without FreeCAD restart
  • unsolved at FreeCAD 1.0.1, solved at FreeCAD 1.1.0devR41127: you can't select face, edge or vertex of Pad object inside LinkGroup container. If you have for example LinkGroup -> Part -> Body -> Pad and you click once the face, edge or vertex, the entire object will be highlighted. To highlight only the face, edge or vertex you have to hold left CTRL key and click twice but in this case FreeCADGui.Selection.getSelection() return empty list, so FreeCAD doesn't see this face, edge or vertex selected and tools not works. If you click many times, the selection jump between Pad, Body, Part, LinkGroup, and again Pad but not select the face, edge or vertex... there is no workaround for FreeCAD 1.0 but it is solved since FreeCAD 1.1.0dev.40971
    ( click here to see picture ) Image
  • unsolved: access to field .ViewObject for Measure::MeasureDistanceDetached object at scanObjects end up with FreeCAD 1.0 crash and core dump... this is related to access field .ViewObject.IV, workaround: not access this field
  • unsolved: you can't move Sketch directly via magicMove, because they consider direct sketch move as bug...

Note

Currently solved known issues at FreeCAD 1.0.1:

  • solved: there is problem with float precision for Transparency attribute at .ViewObject.ShapeAppearance[0].Transparency. If you assign float(83/100) the assigned value will be 0.8299999833106995 instead of 0.83. I fixed this in my code, to get it to work but if this problem is not only related to Transparency, it is extremely huge problem at FreeCAD 1.0.1...

Note

Currently solved known issues at FreeCAD 1.1 weekly:

  • solved: at FreeCAD 1.1.0dev.40971 new PySide6 not allow to start GUI with QtGui.QComboBox: self.sMode.activated[str].connect(self.selectedOption), this impact almost all tools with it's own GUI
  • solved: at FreeCAD 1.1.0devR41127 new PySide6 caused search filter at scanObjects tool to stop working
  • solved: at FreeCAD 1.1.0devR41127 new PySide6 caused debugInfo tool to stop working
  • solved: at FreeCAD weekly-builds-40655 also the transparent structure has been broken... for example during adding dowels the dowels are transparent, broken... this is strong issue because the green face at the dowels is telling about correct dowels rotation, for example if you want to replace them with screws later
    ( click here to see picture ) Image
  • solved: the TechDraw cut-list toPrint from getDimensions tool is too small...
  • solved at FreeCAD 1.1.0devR41127: at FreeCAD 1.1.0dev.40971 removing empty LinkGroup container makes FreeCAD crash

Caution

Currently unsolved known issues at FreeCAD 1.0:

  • unsolved at FreeCAD 1.0, solved at FreeCAD 1.1.0devR41127: you can't select face, edge or vertex of Pad object inside LinkGroup container. If you have for example LinkGroup -> Part -> Body -> Pad and you click once the face, edge or vertex, the entire object will be highlighted. To highlight only the face, edge or vertex you have to hold left CTRL key and click twice but in this case FreeCADGui.Selection.getSelection() return empty list, so FreeCAD doesn't see this face, edge or vertex selected and tools not works. If you click many times, the selection jump between Pad, Body, Part, LinkGroup, and again Pad but not select the face, edge or vertex... there is no workaround for FreeCAD 1.0 but it is solved since FreeCAD 1.1.0dev.40971
    ( click here to see picture ) Image
  • unsolved at FreeCAD 1.0, solved at FreeCAD 1.0.1: screws thread spike is broken at FreeCAD 1.0, the same example at FreeCAD 0.21.2 is fine, confirmed FreeCAD 1.0. bug and you can fix it manually only at weekly build
    ( click here to see picture ) Image
  • unsolved: access to field .ViewObject for Measure::MeasureDistanceDetached object at scanObjects end up with FreeCAD 1.0 crash and core dump... this is related to access field .ViewObject.IV, workaround: not access this field
  • unsolved: you can't move Sketch directly via magicMove, because they consider direct sketch move as bug...

Note

Currently solved known issues at FreeCAD 1.0:

  • solved, About solution: I added new button to get furniture color reference from face, I guess it is the only way to solve this issue if the FreeCAD no longer provide object color. Issue: for the example below, the white chipboard with black edgeband (edge around) the FreeCAD 1.0 returns black colors, so the getDimensions tool is not able to create cut-list with edgeband determined automatically because there is no white color reference anywhere at object, read more about this bug
    ( click here to see picture ) Image
  • solved, solved, About solution: PartDesign objects will be moved by default via Body container, the same solution is to move PartDesign objects via arrows. Issue: you can't move Pad by selecting Pad or Sketch at magicMove, because they consider direct sketch move as bug... you can move the Pad via magicMove only by selecting higher container, for example Body... however you still can move Pad via arrows...
  • solved, solved About solution: colorManager tool has been replaced with new magicColors tool, also I made new color functions to communicate with FreeCAD 0.21.2 and FreeCAD 1.0+ color structure and changed all instances to color change... Issue: at FreeCAD 1.0 the colors are stored at .ViewObject.ShapeAppearance, so this change requires redesign of colorManager, MagicPanels copyColors functions and all Woodworking workbench color references...
  • solved: they changed Sketch object field .Support to .AttachmentSupport, this stopped working all the Cube to Pad conversions...
  • solved: they changed App::MeasureDistance object fields .P1 to .Position1, .P2 to .Position2 and also removed field .DistFactor
  • solved: they also changed measurement objects type from App::MeasureDistance into Measure::MeasureDistanceDetached so the getDimensions cut-list tool is not able to list the custom measurement...
  • solved: new colors impact scanObjects tool, so you can't preview colors per face because they are hidden behind Material structure...
    ( click here to see picture ) Image
  • solved: in magicMeasure at preselection mode the FreeCAD 1.0 crashes with core dump, for example, if you want to measure twice horizontal edge... this issue is related to FreeCAD automatic labeling bug, if you add the same label twice the FreeCAD 1.0 is not able to add next number to the label and crash, it has been solved at FreeCAD 1.1.0dev.40971 but I also fixed this for FreeCAD 1.0 to avoid crash.
  • personal experience only: personally I don't like this new kind of dimension drawing, it's nice that a background was added, which makes the text more visible, but the removed guide lines were better in my opinion
    ( click here to see picture ) Image
  • working in a different way: you can't set alpha channel for face like it was in FreeCAD 0.21.2. Since new FreeCAD 1.0+ color structure you can set only Transparency attribute to make the face transparent. Read more about this FreeCAD new color structure here: Alpha channel for colors has not been implemented yet?
    ( click here to see picture ) Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions