FreeCAD WebAssembly development snapshot
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
This commit is contained in:
BIN
data/examples/ArchDetail.FCStd
Normal file
BIN
data/examples/ArchDetail.FCStd
Normal file
Binary file not shown.
BIN
data/examples/AssemblyExample.FCStd
Normal file
BIN
data/examples/AssemblyExample.FCStd
Normal file
Binary file not shown.
BIN
data/examples/BIMExample.FCStd
Normal file
BIN
data/examples/BIMExample.FCStd
Normal file
Binary file not shown.
137
data/examples/CMakeLists.txt
Normal file
137
data/examples/CMakeLists.txt
Normal file
@@ -0,0 +1,137 @@
|
||||
|
||||
SET(Examples_Files
|
||||
Schenkel.stp
|
||||
draft_test_objects.FCStd
|
||||
EngineBlock.FCStd
|
||||
PartDesignExample.FCStd
|
||||
BIMExample.FCStd
|
||||
FEMExample.FCStd
|
||||
AssemblyExample.FCStd
|
||||
ArchDetail.FCStd
|
||||
FCPAT.pat
|
||||
osifont.license
|
||||
osifont-lgpl3fe.ttf
|
||||
)
|
||||
|
||||
ADD_CUSTOM_TARGET(Example_data ALL
|
||||
SOURCES ${Examples_Files}
|
||||
)
|
||||
|
||||
# 0001097: CMake stops with error "Circular ... <- ... dependency dropped."
|
||||
if(NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||
fc_copy_sources(Example_data "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/examples" ${Examples_Files})
|
||||
endif()
|
||||
|
||||
if (WIN32 AND FREECAD_LIBPACK_USE)
|
||||
# pivy
|
||||
foreach (it ${FREECAD_LIBPACK_PIVY_COIN})
|
||||
get_filename_component(libfile ${it} NAME)
|
||||
set(out "${CMAKE_BINARY_DIR}/lib/pivy/${libfile}")
|
||||
add_custom_command(
|
||||
DEPENDS ${it}
|
||||
OUTPUT ${out}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${it} ${out}
|
||||
MAIN_DEPENDENCY ${it}
|
||||
COMMENT "Copy file to ${out}"
|
||||
)
|
||||
endforeach (it)
|
||||
SOURCE_GROUP("pivy" FILES ${FREECAD_LIBPACK_PIVY_COIN})
|
||||
|
||||
# shiboken
|
||||
foreach (it ${FREECAD_LIBPACK_SHIBOKEN})
|
||||
get_filename_component(libfile ${it} NAME)
|
||||
set(out "${CMAKE_BINARY_DIR}/lib/${libfile}")
|
||||
add_custom_command(
|
||||
DEPENDS ${it}
|
||||
OUTPUT ${out}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${it} ${out}
|
||||
MAIN_DEPENDENCY ${it}
|
||||
COMMENT "Copy file to ${out}"
|
||||
)
|
||||
endforeach (it)
|
||||
SOURCE_GROUP("Shiboken" FILES ${FREECAD_LIBPACK_SHIBOKEN})
|
||||
|
||||
# PySide
|
||||
foreach (it ${FREECAD_LIBPACK_PYSIDE})
|
||||
get_filename_component(libfile ${it} NAME)
|
||||
set(out "${CMAKE_BINARY_DIR}/lib/PySide/${libfile}")
|
||||
add_custom_command(
|
||||
DEPENDS ${it}
|
||||
OUTPUT ${out}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${it} ${out}
|
||||
MAIN_DEPENDENCY ${it}
|
||||
COMMENT "Copy file to ${out}"
|
||||
)
|
||||
endforeach (it)
|
||||
SOURCE_GROUP("PySide" FILES ${FREECAD_LIBPACK_PYSIDE})
|
||||
|
||||
# PySide tools
|
||||
foreach (it ${FREECAD_LIBPACK_PYSIDEUIC})
|
||||
get_filename_component(libpath ${it} PATH)
|
||||
set(src "${FREECAD_LIBPACK_PYSIDEUIC_REL}/${it}")
|
||||
if("${libpath}" STREQUAL "pysideuic")
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_TOP ${FREECAD_LIBPACK_PYSIDEUIC_TOP} ${src})
|
||||
elseif("${libpath}" STREQUAL "pysideuic/Compiler")
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_CMP ${FREECAD_LIBPACK_PYSIDEUIC_CMP} ${src})
|
||||
elseif("${libpath}" STREQUAL "pysideuic/port_v2")
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_PV2 ${FREECAD_LIBPACK_PYSIDEUIC_PV2} ${src})
|
||||
elseif("${libpath}" STREQUAL "pysideuic/port_v3")
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_PV3 ${FREECAD_LIBPACK_PYSIDEUIC_PV3} ${src})
|
||||
elseif("${libpath}" STREQUAL "pysideuic/widget-plugins")
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_WPL ${FREECAD_LIBPACK_PYSIDEUIC_WPL} ${src})
|
||||
else()
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_OTH ${FREECAD_LIBPACK_PYSIDEUIC_OTH} ${src})
|
||||
endif()
|
||||
set(FREECAD_LIBPACK_PYSIDEUIC_ABS ${FREECAD_LIBPACK_PYSIDEUIC_ABS} ${src})
|
||||
set(out "${CMAKE_BINARY_DIR}/lib/${it}")
|
||||
add_custom_command(
|
||||
DEPENDS ${src}
|
||||
OUTPUT ${out}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${src} ${out}
|
||||
MAIN_DEPENDENCY ${src}
|
||||
COMMENT "Copy file to ${out}"
|
||||
)
|
||||
endforeach (it)
|
||||
SOURCE_GROUP("PySide tools" FILES ${FREECAD_LIBPACK_PYSIDEUIC_OTH})
|
||||
SOURCE_GROUP("PySide tools\\pysideuic" FILES ${FREECAD_LIBPACK_PYSIDEUIC_TOP})
|
||||
SOURCE_GROUP("PySide tools\\pysideuic\\Compiler" FILES ${FREECAD_LIBPACK_PYSIDEUIC_CMP})
|
||||
SOURCE_GROUP("PySide tools\\pysideuic\\port_v2" FILES ${FREECAD_LIBPACK_PYSIDEUIC_PV2})
|
||||
SOURCE_GROUP("PySide tools\\pysideuic\\port_v3" FILES ${FREECAD_LIBPACK_PYSIDEUIC_PV3})
|
||||
SOURCE_GROUP("PySide tools\\pysideuic\\widget-plugins" FILES ${FREECAD_LIBPACK_PYSIDEUIC_WPL})
|
||||
|
||||
# Python extension modules
|
||||
foreach (it ${FREECAD_LIBPACK_PYTHON})
|
||||
get_filename_component(libfile ${it} NAME)
|
||||
set(out "${CMAKE_BINARY_DIR}/lib/${libfile}")
|
||||
add_custom_command(
|
||||
DEPENDS ${it}
|
||||
OUTPUT ${out}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy_if_different ${it} ${out}
|
||||
MAIN_DEPENDENCY ${it}
|
||||
COMMENT "Copy file to ${out}"
|
||||
)
|
||||
endforeach (it)
|
||||
SOURCE_GROUP("Python" FILES ${FREECAD_LIBPACK_PYTHON})
|
||||
|
||||
set(FREECAD_LIBPACK_FILES
|
||||
${FREECAD_LIBPACK_PIVY_COIN}
|
||||
${FREECAD_LIBPACK_SHIBOKEN}
|
||||
${FREECAD_LIBPACK_PYSIDE}
|
||||
${FREECAD_LIBPACK_PYSIDEUIC_ABS}
|
||||
${FREECAD_LIBPACK_PYTHON}
|
||||
)
|
||||
add_custom_target(LibPack_Files ALL SOURCES ${FREECAD_LIBPACK_FILES})
|
||||
|
||||
endif(WIN32 AND FREECAD_LIBPACK_USE)
|
||||
|
||||
INSTALL(
|
||||
FILES
|
||||
${Examples_Files}
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_DATADIR}/examples
|
||||
)
|
||||
BIN
data/examples/EngineBlock.FCStd
Normal file
BIN
data/examples/EngineBlock.FCStd
Normal file
Binary file not shown.
23
data/examples/FCPAT.pat
Normal file
23
data/examples/FCPAT.pat
Normal file
@@ -0,0 +1,23 @@
|
||||
; standard PAT patterns
|
||||
|
||||
*Diamond, 45 diagonals L & R, Solid, 1.0 mm separation
|
||||
45,0,0,0,1.0
|
||||
-45,0,0,0,1.0
|
||||
*Diamond2, 45 diagonals L & R, Solid, 2.0 mm separation
|
||||
45,0,0,0,2.0
|
||||
-45,0,0,0,2.0
|
||||
*Diamond4, 45 diagonals L & R, Solid, 4.0 mm separation
|
||||
45,0,0,0,4.0
|
||||
-45,0,0,0,4.0
|
||||
*Diagonal4, 45 diagonal R, Solid, 4.0 mm separation
|
||||
45,0,0,0,4.0
|
||||
*Diagonal5, 45 diagonal L, Solid, 4.0 mm separation
|
||||
-45,0,0,0,4.0
|
||||
*Square, square grid, Solid, 5.0 mm separation
|
||||
90,1,1,0,5.0
|
||||
0,0,0,1,5.0
|
||||
*Horizontal5, horizontal lines, Solid 5.0 separation
|
||||
0,0,0,0,5.0
|
||||
*Vertical5, vertical lines, Solid, 5.0 separation
|
||||
90,0,0,0,5.0
|
||||
|
||||
BIN
data/examples/FEMExample.FCStd
Normal file
BIN
data/examples/FEMExample.FCStd
Normal file
Binary file not shown.
BIN
data/examples/PartDesignExample.FCStd
Normal file
BIN
data/examples/PartDesignExample.FCStd
Normal file
Binary file not shown.
11789
data/examples/Schenkel.stp
Normal file
11789
data/examples/Schenkel.stp
Normal file
File diff suppressed because it is too large
Load Diff
BIN
data/examples/draft_test_objects.FCStd
Normal file
BIN
data/examples/draft_test_objects.FCStd
Normal file
Binary file not shown.
BIN
data/examples/osifont-lgpl3fe.ttf
Normal file
BIN
data/examples/osifont-lgpl3fe.ttf
Normal file
Binary file not shown.
9
data/examples/osifont.license
Normal file
9
data/examples/osifont.license
Normal file
@@ -0,0 +1,9 @@
|
||||
osifont license:
|
||||
|
||||
osifont-lgpl3fe.ttf is used under one or more of the following licenses:
|
||||
- GNU GPL licence version 3 with GPL font exception,
|
||||
- GNU GPL licence version 2 with GPL font exception,
|
||||
- GNU LGPL licence version 3 with GPL font exception.
|
||||
|
||||
|
||||
https://github.com/hikikomori82/osifont/
|
||||
Reference in New Issue
Block a user