martcram / freecad-aplan Goto Github PK
View Code? Open in Web Editor NEWAssembly PLANning workbench for FreeCAD
License: GNU Lesser General Public License v2.1
Assembly PLANning workbench for FreeCAD
License: GNU Lesser General Public License v2.1
Hello,
We are trying to compile the repository to test the tool for our usecase, but we are getting compile errors.
FreeCAD compiles, but not the APLAN module.
Would really appreciate it if you could take a look at the error, as your project seemed perfect to build upon for my thesis.
Thanks!
Windows 11
FreeCAD: 20.2
LibPack(Dependencies): LibPack-OCC76-V2-8.7
Aplan: latest code of the repo
Couldn't find the exact versions of all the libraries in the repo, but used the latest official dependency pack for windows for FreeCAD 20.2
The errors seem to all revolve around the Part Compound
"C:\fc\freecad-build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj" (default target) (55) ->
(Link target) ->
AplanCompound.obj : error LNK2019: unresolved external symbol "protected: static struct App::PropertyData const * __cdecl Part::Compound::getPropertyDataPtr(void)" (?getPropertyDataPtr@Compound@Part@@KAPEBU
PropertyData@App@@XZ) referenced in function "public: static void __cdecl Aplan::Compound::init(void)" (?init@Compound@Aplan@@SAXXZ) [C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj]
AplanCompound.obj : error LNK2019: unresolved external symbol "public: __cdecl Part::Compound::Compound(void)" (??0Compound@Part@@QEAA@XZ) referenced in function "public: __cdecl App::FeaturePythonT<class A
plan::Compound>::FeaturePythonT<class Aplan::Compound>(void)" (??0?$FeaturePythonT@VCompound@Aplan@@@App@@QEAA@XZ) [C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj]
AplanCompound.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl Part::Compound::~Compound(void)" (??1Compound@Part@@UEAA@XZ) referenced in function "public: virtual __cdecl App::Featu
rePythonT<class Aplan::Compound>::~FeaturePythonT<class Aplan::Compound>(void)" (??1?$FeaturePythonT@VCompound@Aplan@@@App@@UEAA@XZ) [C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj]
AplanCompound.obj : error LNK2019: unresolved external symbol "public: virtual short __cdecl Part::Compound::mustExecute(void)const " (?mustExecute@Compound@Part@@UEBAFXZ) referenced in function "public: vi
rtual short __cdecl App::FeaturePythonT<class Aplan::Compound>::mustExecute(void)const " (?mustExecute@?$FeaturePythonT@VCompound@Aplan@@@App@@UEBAFXZ) [C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj]
AplanCompound.obj : error LNK2019: unresolved external symbol "public: virtual class App::DocumentObjectExecReturn * __cdecl Part::Compound::execute(void)" (?execute@Compound@Part@@UEAAPEAVDocumentObjectExe
cReturn@App@@XZ) referenced in function "public: virtual class App::DocumentObjectExecReturn * __cdecl App::FeaturePythonT<class Aplan::Compound>::execute(void)" (?execute@?$FeaturePythonT@VCompound@Aplan@@@A
pp@@UEAAPEAVDocumentObjectExecReturn@2@XZ) [C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj]
C:\fc\freecad-build\Mod\Aplan\Aplan.pyd : fatal error LNK1120: 5 unresolved externals [C:\fc\freecad-build\src\Mod\Aplan\App\Aplan.vcxproj]
FreeCAD's release version 0.19.1 had been selected in the initial development phase. However, when switching to FreeCAD 0.20, configuration and build errors occur related to the APLAN workbench.
0.20 (Release)
OS: Ubuntu 22.04 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* A2plus 0.4.56
* 3DfindIT 1.2.0
Also, I can add this to the addon manager when you think it's ready but it would be useful if you posted about it on the forum.freecadweb.org so the community could vet it...what do you think?
The toolbar commands of the APLAN workbench are still provided with the default icon (i.e. black cross on a white background). Tailored icons have to be designed following FreeCAD's artwork guidelines.
Name | Type | Icon | Description | Designer(s) | Commit |
---|---|---|---|---|---|
Analysis | Object | Container object collecting all objects (i.e. part filters, constraints, results etc.) related to a specific assembly analysis. Inspired by FEM Analysis | a43b79e | ||
Compound | Object | Object representing a group of assembly components (i.e. subassembly). During analysis, all components composing a Compound are treated as a single part. | 4cf4815 | ||
CompoundGroup | Object | Object representing a group of Compound objects. An APLAN analysis container can contain at most one CompoundGroup object. | 0ecb342 | ||
CompoundsPurge | Command | Command used for purging all Compound and CompoundGroup objects of the active APLAN analysis. | 6a14633 | ||
ConnectionDetectorSwellOCCT | Object | Object representing a connection detector (i.e. topological constraints) using bounding box intersections and OpenCascade's tools. | 744336c | ||
ConstraintGroup | Object | Object representing a group of GeomConstraints and TopoConstraints objects. An APLAN analysis container can contain at most one ConstraintGroup object. | 1351076 | ||
ConstraintsInspect | Command | Command used for inspecting and modifying the selected geometrical or topological constraints using a force-directed graph layout. | 119c2f4 | ||
ConstraintsPurge | Command | Command used for purging all GeomConstraints, TopoConstraints, and ConstraintGroup objects of the active APLAN analysis. | c1eddc8 | ||
GeomConstraints | Object | Object representing the geometrical constraints (i.e. obstructions) present among the available components, and along the specified disassembly direction. | 2d76754 | ||
ObstructionDetectorOCCT | Object | Object representing an obstruction detector (i.e. geometrical constraints) using bounding box intersections and OpenCascade's tools. | d515b40 | ||
PartFilter | Object | Object representing a filter for grouping (compounding) and/or excluding parts from analysis. | 3be982a | ||
ToggleTransparency | Command | Command used for toggling the transparency of the available parts. | cb392f7 | ||
TopoConstraints | Object | Object representing the topological constraints (i.e. connections) present among the available components. | f3084a0 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.