Search found 1531 matches

Go to advanced search

by tanderson69
Mon Dec 16, 2019 1:59 am
Forum: Open discussion
Topic: Ticket #4224 - hard crash with App::Link
Replies: 13
Views: 845

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: 473

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: 473

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: 473

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: 843

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: 843

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: 434

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: 434

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...
by tanderson69
Wed Sep 04, 2019 11:59 am
Forum: Open discussion
Topic: Photo-realistic rendering of FreeCAD models with CADRays
Replies: 122
Views: 17734

Re: Photo-realistic rendering of FreeCAD models with CADRays

Hi Thomas, how did you do it? If you can tell me how, I'll have a go on Kubuntu 18.04 64bit later tonight....yeah its evening here now. Do you have to compile occ as well? Jim I did it by swearing and hacking away on the cmake files. Yes I did compile and install occ as well. Here is a link to a re...
by tanderson69
Tue Sep 03, 2019 10:29 pm
Forum: Open discussion
Topic: Photo-realistic rendering of FreeCAD models with CADRays
Replies: 122
Views: 17734

Re: Photo-realistic rendering of FreeCAD models with CADRays

I have it compiled and running on debian. I find the GUI a little confusing. :D
cadrays01.png
cadrays01.png (250.03 KiB) Viewed 679 times

Go to advanced search