Search found 138 matches

by freecadlzh
Thu Jul 28, 2022 6:02 am
Forum: Python scripting and macros
Topic: How to set units during modeling?
Replies: 3
Views: 756

Re: How to set units during modeling?

I used freecad to build a model of substation.It involves the enclosure of the substation, transformer and other models. The enclosure, house and other models are represented by part's box model.In order not to build the same substation model every time, I stored the data of the substation model an...
by freecadlzh
Thu Jul 28, 2022 5:33 am
Forum: Python scripting and macros
Topic: How to set units during modeling?
Replies: 3
Views: 756

Re: How to set units during modeling?

I used freecad to build a model of substation.It involves the enclosure of the substation, transformer and other models. The enclosure, house and other models are represented by part's box model.In order not to build the same substation model every time, I stored the data of the substation model an...
by freecadlzh
Thu Jul 28, 2022 5:25 am
Forum: Python scripting and macros
Topic: How to set units during modeling?
Replies: 3
Views: 756

How to set units during modeling?

I used freecad to build a model of substation.It involves the enclosure of the substation, transformer and other models. The enclosure, house and other models are represented by part's box model.In order not to build the same substation model every time, I stored the data of the substation model and...
by freecadlzh
Sat Jul 23, 2022 7:23 am
Forum: Python scripting and macros
Topic: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.
Replies: 7
Views: 878

Re: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.

It seems that you have not the latest 0.19 thatbfor windows should be 0.19.4 (from the minir number it could be a 0.19.2 or 0.19.3). Try to use a more recent version and see what happen, as 0.19 is now the "old stable" it would be safe to have last revision, it has many improvement and bu...
by freecadlzh
Fri Jul 22, 2022 3:53 pm
Forum: Python scripting and macros
Topic: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.
Replies: 7
Views: 878

Re: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.

It's a bit slow but I would not say that the program gets stuck. Importing takes ca 29 seconds on my machine. import FreeCAD as App import time start = time.time() doc = App.ActiveDocument ss = doc.addObject("Spreadsheet::Sheet", "Spreadsheet") ss.importFile("C:/Downloads/c...
by freecadlzh
Fri Jul 22, 2022 3:51 pm
Forum: Python scripting and macros
Topic: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.
Replies: 7
Views: 878

Re: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.

It's a bit slow but I would not say that the program gets stuck. Importing takes ca 29 seconds on my machine. import FreeCAD as App import time start = time.time() doc = App.ActiveDocument ss = doc.addObject("Spreadsheet::Sheet", "Spreadsheet") ss.importFile("C:/Downloads/c...
by freecadlzh
Fri Jul 22, 2022 4:56 am
Forum: Python scripting and macros
Topic: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.
Replies: 7
Views: 878

Re: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.

1.png A CSV file, 1.23Mb in size, contains 250000 calculated data. The file name is "csvfile.csv". In Freecad, I new a Spreadsheet object, and then used the importfile() function to load the file in the freecad console, and the return value was true. Then when I executed the instruction &...
by freecadlzh
Fri Jul 22, 2022 4:53 am
Forum: Python scripting and macros
Topic: Importing a large amount of data into spreadsheet will cause the program to be unresponsive.
Replies: 7
Views: 878

Importing a large amount of data into spreadsheet will cause the program to be unresponsive.

1.png A CSV file, 1.23Mb in size, contains 250000 calculated data. The file name is "csvfile.csv". In Freecad, I new a Spreadsheet object, and then used the importfile() function to load the file in the freecad console, and the return value was true. Then when I executed the instruction &...
by freecadlzh
Thu Apr 28, 2022 7:53 am
Forum: Help on using FreeCAD
Topic: The methods of obtaining vertex coordinates of sub models are not unified
Replies: 3
Views: 572

Re: The methods of obtaining vertex coordinates of sub models are not unified

I set up a STD_ Part group. Two models, a box model and a plane model, are placed in the group. I found that under different operation modes, the way to obtain XYZ coordinates of specific vertices of plane model is different. As shown in Figure 1, here I perform a separate coordinate transformation...
by freecadlzh
Thu Apr 28, 2022 7:47 am
Forum: Help on using FreeCAD
Topic: The methods of obtaining vertex coordinates of sub models are not unified
Replies: 3
Views: 572

The methods of obtaining vertex coordinates of sub models are not unified

I set up a STD_ Part group. Two models, a box model and a plane model, are placed in the group. I found that under different operation modes, the way to obtain XYZ coordinates of specific vertices of plane model is different. As shown in Figure 1, here I perform a separate coordinate transformation ...