Search found 602 matches

by eivindkvedalen
Thu Nov 14, 2013 11:25 am
Forum: Announcements & Features
Topic: Spreadsheet module
Replies: 117
Views: 47767

Re: Spreadsheet module

Hi, 1) Yes, I have noticed that undo/redo does not work, and was about to ask about it in my previous post, but forgot it. I will look into this. 2) This is supposed to be covered by the docDeps variable in the Sheet class. If you reference properties from other document objects, they end up there s...
by eivindkvedalen
Thu Nov 14, 2013 12:34 am
Forum: Announcements & Features
Topic: Spreadsheet module
Replies: 117
Views: 47767

Re: Spreadsheet module

Hi all, A new version of my C++ spreadsheet module is now available on https://github.com/eivindkv/free-cad-code (the SpreadsheetMod branch). It is rebased on a recent version of the master branch. This version is feature-complete, apart from: - Copying & pasting of selections - The SpreadsheetC...
by eivindkvedalen
Wed Oct 23, 2013 6:25 am
Forum: Developers corner
Topic: Toolbar widgets
Replies: 1
Views: 547

Toolbar widgets

Hi,

Is it possible to add something else to the toolbar than just regular buttons? I would like to add either a drop-down list or a color picker...

Eivind
by eivindkvedalen
Fri Oct 18, 2013 10:47 pm
Forum: Developers corner
Topic: What sort of Python value is a Shape Vertex.
Replies: 14
Views: 2324

Re: What sort of Python value is a Shape Vertex.

keithsloan52 wrote:
shoogen wrote:Probably it is in a different namespace.
Sorry don't understand, maybe my C++ knowledge is too rusty
Hi,

try adding

Code: Select all

using namespace Part;
before you use the TopoShapeVertexPy type.

Eivind
by eivindkvedalen
Fri Oct 11, 2013 10:43 am
Forum: Developers corner
Topic: How about relations in FC?
Replies: 24
Views: 4888

Re: How about relations in FC?

AutoDesk Inventor doesn't implement its own spreadsheet - it uses Excel sheets instead. Can't we make use of OpenOffice/LibreOffice instead of re-inventing the wheel by writing our own spreadsheet? Well, there are so many to choose from, and I guess support on both Windows and Linux is needed. That...
by eivindkvedalen
Sat Oct 05, 2013 7:02 pm
Forum: Developers corner
Topic: How about relations in FC?
Replies: 24
Views: 4888

Re: How about relations in FC?

Very good! But I'm still see no need to put your expression parser into App!? Put the parser into Spreadsheet and I would tend to accept your code. It makes no sense to work on the same construction sites. And Yorik has some saying, since he did the python spreadsheet and I don't like throwing away...
by eivindkvedalen
Thu Oct 03, 2013 11:48 pm
Forum: Developers corner
Topic: How about relations in FC?
Replies: 24
Views: 4888

Re: How about relations in FC?

Hi all, [although a bit old, this thread seems to be the appropriate one...] Based on my recent Spreadsheet module (https://github.com/eivindkv/free-cad-code/tree/SpreadsheetMod), I now have proof-of-concept code where Properties (currently only PropertyInteger and PropertyFloat) can take arbitrary ...
by eivindkvedalen
Sun Sep 29, 2013 9:34 pm
Forum: Announcements & Features
Topic: Spreadsheet module
Replies: 117
Views: 47767

Re: Spreadsheet module

Hi all, I've now updated my Spreadsheet module on github (https://github.com/eivindkv/free-cad-code). It's a new branch (the old one is removed), named SpreadsheetMod. It is based on a recent version of master from git://git.code.sf.net/p/free-cad/code This version includes the following features: -...
by eivindkvedalen
Thu Sep 12, 2013 7:52 pm
Forum: Announcements & Features
Topic: Spreadsheet module
Replies: 117
Views: 47767

Re: Spreadsheet module

Ahh - ok, thats interesting. In that case we should surly integrate! I started a parallel system with two classes: https://sourceforge.net/p/free-cad/code/ci/master/tree/src/Base/Unit.h https://sourceforge.net/p/free-cad/code/ci/master/tree/src/Base/Quantity.h Quantity is planed to have its own par...
by eivindkvedalen
Mon Sep 09, 2013 8:23 am
Forum: Announcements & Features
Topic: Spreadsheet module
Replies: 117
Views: 47767

Re: Spreadsheet module

The expression parser is in the base system for two reasons: 1) It does not depend on the spreadsheet module at all, it uses properties to resolve even its own spreadsheet cells. 2) It is part of a bigger plan to support expressions in other parts of FreeCAD, e.g in constraints in Sketcher. I actual...