Search found 1553 matches

Go to advanced search

by tanderson69
Sat Jan 25, 2020 3:36 pm
Forum: Open discussion
Topic: Utility to inspect OpenCascade models
Replies: 65
Views: 5959

Re: Utility to inspect OpenCascade models

... As for Tcl/Tk, Tk is not required but Tcl is needed because there's an embedded Tcl console which makes much sense for rapid prototyping. My question/comment was more: "I was surprised you are manually building and installing tcl instead of just installing from the repo with 'apt', because I ha...
by tanderson69
Wed Jan 22, 2020 4:04 pm
Forum: Open discussion
Topic: Utility to inspect OpenCascade models
Replies: 65
Views: 5959

Re: Utility to inspect OpenCascade models

... and any criticism is very welcome, ok :D Normally on debian based distros, locally built packages get installed to '/usr/local/'. My build processes became much smoother, once I quit fighting this. Dependencies that are real specific, like ActiveData, I would make git submodules and do a recurs...
by tanderson69
Mon Dec 16, 2019 1:59 am
Forum: Open discussion
Topic: Ticket #4224 - hard crash with App::Link
Replies: 13
Views: 1173

Re: Ticket #4224 - hard crash with App::Link

vocx wrote:
Sun Dec 15, 2019 3:37 am
ping
realthunder wrote:
Sat Dec 14, 2019 11:50 pm
ping
FYI: If I remember correctly: The dagview layout engine is setup for filters. I just never made any other than for testing. I really don't do anything with freecad anymore, so I won't be working on it.
by tanderson69
Tue Nov 12, 2019 5:57 pm
Forum: Developers corner
Topic: [SOLVED-ISH] Advice wanted on designing a c++ class managed by python: Constraint (baseclass)
Replies: 19
Views: 638

Re: [SOLVED-ISH] Advice wanted on designing a c++ class managed by python: Constraint (baseclass)

Any specific code you can suggest? Here is an example of what I mean: // Example program #include <iostream> #include <cassert> #include <memory> class BaseClass { public: int basemember = 0; virtual void assign(const BaseClass *other) = 0; }; class A : public BaseClass { public: int mmA = 0; void ...
by tanderson69
Tue Nov 12, 2019 4:51 pm
Forum: Developers corner
Topic: [SOLVED-ISH] Advice wanted on designing a c++ class managed by python: Constraint (baseclass)
Replies: 19
Views: 638

Re: [REOPENED] Advice wanted on designing a c++ class managed by python: Constraint (baseclass)

But that means I have to have my pointers pre-casted to the final type. Not necessarily. I think your first try using a virtual function was the correct way. You just can't use virtual functions with different argument types like copy constructors and assignment operators. A common solution to this...
by tanderson69
Tue Nov 12, 2019 3:53 pm
Forum: Developers corner
Topic: [SOLVED-ISH] Advice wanted on designing a c++ class managed by python: Constraint (baseclass)
Replies: 19
Views: 638

Re: Advice wanted on designing a c++ class managed by python: Constraint (baseclass)

// Example program #include <iostream> class BaseClass { int basemember = 0; }; class A : public BaseClass { public: int mmA = 0; public: A& operator=(A& other) { mmA = 0; } }; class B: public A { public: int mmB = 0; B(int mma, int mmb){ mmA = mma; mmB = mmb; } }; int main() { A* inst1 = new B(1,1...
by tanderson69
Thu Nov 07, 2019 1:03 pm
Forum: Install / Compile
Topic: OCE 0.18 -> OCCT 7.4.0: Crap ton of namespace issues
Replies: 10
Views: 1193

Re: OCE 0.18 -> OCCT 7.4.0: Crap ton of namespace issues

DeepSOIC wrote:
Thu Nov 07, 2019 10:13 am
So, why is it bad?
The blog you linked to is about 'using directives' vs 'using declarations' and kind of glosses over headers vs source files. Stack overflow is a good place for this kind of information.
https://stackoverflow.com/questions/584 ... -c-headers
by tanderson69
Thu Oct 31, 2019 1:35 pm
Forum: Install / Compile
Topic: OCE 0.18 -> OCCT 7.4.0: Crap ton of namespace issues
Replies: 10
Views: 1193

Re: OCE 0.18 -> OCCT 7.4.0: Crap ton of namespace issues

occt had some 'using' declarations in a header file. A 'no no'. These were carrying over to any project including it. They have since fixed this and any project that has accidentally took advantage of this will have to be fixed. http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff;f=src/Stan...
by tanderson69
Tue Sep 10, 2019 1:25 pm
Forum: Developers corner
Topic: DRAWEXE for OCC 7.3 on Linux
Replies: 7
Views: 597

Re: DRAWEXE for OCC 7.3 on Linux

wandererfan wrote:
Tue Sep 10, 2019 12:56 pm
Different error message ("couldn't open "": no such file or directory"), but still won't run.
Did you find the path to the directory and file of your installation and put them into the variables?
by tanderson69
Tue Sep 10, 2019 12:31 pm
Forum: Developers corner
Topic: DRAWEXE for OCC 7.3 on Linux
Replies: 7
Views: 597

Re: DRAWEXE for OCC 7.3 on Linux

Does anybody know how to use DRAWEXE for OCC 7.3 as installed via the daily ppa? I can get DRAW to execute with wandererfan@huxley ~ $ /usr/share/opencascade/bin/draw.sh But I get an error message right after start up. couldn't read file "/usr/src/DrawResources/DrawDefault": no such file or directo...

Go to advanced search