Commit Graph

95 Commits

Author SHA1 Message Date
Roy-043
776b2f2d5a BIM: fix transparency of curtain walls in BIMExample.FCStd
Curtain walls in the BIM example file did not have transparent glass panels.
2025-12-28 07:53:28 +01:00
Roy-043
5b872b59a1 BIM/Draft: fix paths related to example files
* My mod (#23284) of CMakeLists.txt did not create the desired subfolder. Therefore the TTF and PAT files have now been put in the main example folder.
* draft_test_objects.FCStd has been update for the new path of the mentioned files.
* BIMExample.FCStd has been updated to use the PAT file from the example folder instead of acad.pat from a local folder.
2025-11-02 14:51:27 -06:00
Roy-043
1d38352607 Draft: Update Draft example file (#23284)
* Draft: Update Draft example file

Fixes #23198

I have added osifont-lgpl3fe.ttf to the example folder. The ShapeString in draft_test_objects.FCStd references it using a
relative path. I am not sure if including the font here is allowed though.

Additionally: The example file showed up an error in view_wire.py. It is also used for fillets (which do not have a Points property).

* Updated

* Also use a relative path for the PAT file.
* Subfolder for the PAT and TTF files.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt
2025-09-25 14:21:12 +02:00
wmayer
8747607820 Tests: Add test case for ReaderOBJ 2025-08-25 18:13:59 +02:00
wmayer
597e42d12f Test: Add unit test to read in 3MF file 2024-11-28 19:36:58 +01:00
Yorik van Havre
bcd95cf32d New Arch Detail example 2024-11-15 18:45:37 +01:00
Benjamin Nauck
4badd2519e Remove broken robot example file
fixes #17303
2024-10-21 21:03:00 -05:00
FEA-eng
aef3bdfe67 FEM: Start examples rework (#15786)
* FEM: Delete data/examples/FemCalculixCantilever1D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: add new example combining the previous 3

* FEM: Update CMakeLists.txt

* FEM: Update femmesh2mesh.py

* FEM: Update test_information.md

* FEM: Update test_result.py

* FEM: Update MaterialEditor.py

* FEM: Delete data/examples/FEMExample.FCStd

* FEM: add new example without logo
2024-08-12 17:46:09 -04:00
Max
f79a230db1 Change default to not include the icon file to the file thumbnail on save.
Windows renders the application image on top so it appears twice.
Update example file thumbnails on start page to have a consistent background (classic theme) and remove the old FreeCAD logos.
2024-08-12 11:37:38 -04:00
PaddleStroke
01c2e45079 Assembly: update AssemblyExample.fcstd 2024-07-14 20:26:59 -05:00
Yorik van Havre
c79a5665ec Fixed license 2024-07-02 10:02:10 +02:00
Yorik van Havre
f3f01e2845 BIM: Refinements to BIM example file 2024-07-02 10:02:10 +02:00
Yorik van Havre
96803f34cb BIM: new example file - fixes #14583 2024-07-02 10:02:10 +02:00
Roy-043
e495e00084 Fix EngineBlock.FCStd example file
The EngineBlock.FCStd example file contained a corrupt Points file. A new file was created by opening the V0.17 version of the FCStd file, saving that file, and then copying that Points file into the V0.22 FCStd file.

It's a very OLD example BTW. See also #14583.

To check the problem recompute the original V0.22 FCStd file.
Result:
```
pyException: Traceback (most recent call last):
  File "D:\BKG_Tmp\FreeCAD_0.22\Mod\Draft\draftobjects\bspline.py", line 113, in execute
    spline.interpolate(obj.Points, PeriodicFlag = True, Parameters = self.knotSeq)
<class 'Part.OCCError'>: Standard_ConstructionError
20:56:32  BSpline001: Standard_ConstructionError
2024-06-24 10:55:58 -05:00
wmayer
6c9b368b99 Data: Consistent data path
During the build process the example files are copied to the hardcoded path 'data/examples' while for the installed files
'/examples' is used. On Linux systems the value of the CMake variable is 'share' so that there is
an inconsistency between compiled and installed version.
2024-04-15 11:10:58 -05:00
wmayer
799013a9cd tests: add unit tests for VRML file with textures 2024-03-22 09:39:21 +01:00
FEA-eng
6eeeb72081 Start wb FEM examples update (#12871)
* FEM: Delete data/examples/FemCalculixCantilever3D_newSolver.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: add updated cantilever 3D

* FEM: add updated cantilever 2D

* FEM: add cantilever 1D

* FEM: Update CMakeLists.txt

* FEM: Delete data/examples/FemCalculixCantilever1D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: reupload the 1D example with a new license

* FEM: reupload the 2D example with a new license

* FEM: reupload the 3D example with a new license
2024-03-14 22:15:29 -05:00
wmayer
81177b08e8 Test: change license of test file 2024-03-09 16:18:14 +01:00
wmayer
5af2cc89cc Tests: add tests for ProjectFile 2024-03-08 22:25:59 -06:00
Adrián Insaurralde Avalos
a2b2c7ebc1 Assembly: add example file 2024-02-21 01:39:06 -03:00
wmayer
fde0438603 Data: update CMake file 2023-03-07 14:05:58 +01:00
wmayer
f22c391700 [skip ci] Data: set author and update license 2023-03-07 10:41:07 +01:00
luzpaz
b4780be1d1 Fix whitespace issues 2023-02-05 16:39:58 +01:00
luzpaz
23af228b87 Fix various indentation issues (tabs->spaces) 2023-01-23 16:59:28 +01:00
Roy
b90621ca3c Draft: Update draft_test_objects.FCStd file 2022-04-15 18:38:20 +02:00
0penBrain
a2d6c317fd [Examples] Add thumbnail to PDN example 2021-11-05 02:42:51 +01:00
0penBrain
949263b93c [Examples] Conform PartDesign example to usual guidelines
Attach sketches to planes (base planes)
 Fully constrain sketches
 Make the example looking a bit nicer too
2021-09-23 16:28:17 +02:00
Bernd Hahnebach
8b2044aa13 Data: examples FEM, delete files added by accident with commit 9bfd947886 2020-06-29 22:35:41 +02:00
Bernd Hahnebach
9bfd947886 FEM: elmer equation flux, better name without word solver 2020-06-29 22:28:26 +02:00
vocx-fc
21fd53e5ed Draft: example file with a preview in the Start page 2020-04-06 12:58:32 +02:00
vocx-fc
acda0d4faf Draft: add example file to test Draft objects 2020-03-31 12:04:27 +02:00
Bernd Hahnebach
9749d08d89 FEM: 2D FEM example, update result, shell thickness and material object 2020-03-22 13:42:20 +01:00
Bernd Hahnebach
0b889e6e8d FEM: 3D FEM example, update result and material object 2020-03-22 13:42:15 +01:00
luz.paz
ba6a6d63ee [StartWB] Re-added example files with saved thumbnails in their icons
These example files have been updated to include the graphical representation of their models in their logos (these were previously missing). Start WB will now display them correctly.  
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=37372&start=10#p318420
2019-07-02 20:05:45 -03:00
Bernd Hahnebach
9cda3a94db FEM: examples, update result object in 2D FEM example 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
ca4cd9df33 FEM: examples, update result object in 3D FEM example 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
30d3347aea FEM: update solver framework example 2019-03-19 14:15:15 -03:00
Bernd Hahnebach
0b5cc822e8 FEM: examples, update solver obj of 3D example 2019-03-04 22:15:42 +01:00
Bernd Hahnebach
f839b136d1 FEM: examples, update solver obj of 2D example 2019-03-04 22:15:42 +01:00
Bernd Hahnebach
8c1c221f25 Data: update FEM 3D example 2019-02-06 10:10:46 -02:00
Bernd Hahnebach
d8d185fe19 Data: update FEM 2D example 2019-02-06 10:10:46 -02:00
wmayer
0459122c11 update PD example project 2019-01-12 16:29:40 +01:00
Yorik van Havre
786054fd22 Fixed ArchDetail example 2018-04-23 13:20:43 -03:00
Bernd Hahnebach
53af3b33d8 FEM: examples, update frame work solver example 2018-02-10 00:53:16 +01:00
Bernd Hahnebach
2e049fd5e8 FEM: udate example files 2018-01-26 18:49:59 +01:00
Unknown
e37b582478 Typo fixes
[skip ci]
2017-12-16 09:45:15 -02:00
Bernd Hahnebach
1b19705441 FEM: new solver, add Cantilever example with all solvers 2017-12-02 13:17:30 +01:00
Bernd Hahnebach
e038c1c070 FEM: example files, adapt them to the new result mesh object 2017-08-02 12:45:16 +02:00
Bernd Hahnebach
77734de367 FEM: update examples result objects 2017-07-17 19:53:32 -03:00
Bernd Hahnebach
ec5f19ac4b FEM: example 2D, update to the new element geometry object 2017-03-07 13:40:18 -03:00