wwmayer

Results 133 comments of wwmayer

What is supposed to happen if an invalid quantity is used? `verify_parse_operation("10 §§§")` or ``verify_parse_operation("10 $")`` verify_parse_operation correctly returns False but the Size_Quantity property has a value of "10 mm"....

I haven't yet checked the links you posted. It seems there is a bug in the quantity parser of the core system. When I write `App.Units.parseQuantity("1$")` then it correctly raises...

> Testing with the vectors (1,2,3) and (3,0,-1) IsParallel returns the value "False" which is correct. No, it's not. A vector is defined by its length, by its direction and...

I can't give a qualified answer about whether these classes are needed or not as I don't know much about assemblies and their requirements. But for the new code you...

> Assembly are very similar to sketches actually. You have elements and constraints and you need to solve. I know what the assembly is good for but not much beyond...

``` // clang-format off // inclusion of the generated files (generated out of AssemblyObject.xml) #include "AssemblyObjectPy.h" #include "AssemblyObjectPy.cpp" // clang-format on ```

FYI, the workaround with clang-format off/on is not needed any more because the sorting of header file has been disabled: https://github.com/FreeCAD/FreeCAD/commit/b65ae56f1faa4f3d9390915178beb0bebe99a3f1

You have to register the class AssemblyObject to FreeCAD's type system. Now in your case you have created a Python extension module `AssemblyApp` and a Python package `Assembly.` But the...