f3d 2.3.0__cp312-cp312-manylinux_2_28_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of f3d might be problematic. Click here for more details.
- f3d/__init__.py +97 -0
- f3d/lib64/libf3d.so +0 -0
- f3d/pyf3d.cpython-312-x86_64-linux-gnu.so +0 -0
- f3d/share/f3d/plugins/alembic.json +16 -0
- f3d/share/f3d/plugins/assimp.json +51 -0
- f3d/share/f3d/plugins/draco.json +16 -0
- f3d/share/f3d/plugins/exodus.json +16 -0
- f3d/share/f3d/plugins/native.json +142 -0
- f3d/share/f3d/plugins/occt.json +30 -0
- f3d-2.3.0.dist-info/METADATA +104 -0
- f3d-2.3.0.dist-info/RECORD +15 -0
- f3d-2.3.0.dist-info/WHEEL +5 -0
- f3d-2.3.0.dist-info/entry_points.txt +0 -0
- f3d-2.3.0.dist-info/licenses/LICENSE.md +31 -0
- f3d-2.3.0.dist-info/licenses/doc/THIRD_PARTY_LICENSES.md +54 -0
f3d/__init__.py
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# This file is auto-generated by CMake, do not edit!
|
|
2
|
+
# Refer to python/__init__.py.in source file
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
import sys
|
|
6
|
+
import re
|
|
7
|
+
import warnings
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
F3D_ABSOLUTE_DLLS = [
|
|
11
|
+
#
|
|
12
|
+
]
|
|
13
|
+
F3D_RELATIVE_DLLS = [
|
|
14
|
+
#
|
|
15
|
+
]
|
|
16
|
+
if sys.version_info >= (3, 8) and sys.platform == "win32":
|
|
17
|
+
for abs_path in F3D_ABSOLUTE_DLLS:
|
|
18
|
+
os.add_dll_directory(abs_path)
|
|
19
|
+
root = Path(__file__).parent
|
|
20
|
+
for rel_path in F3D_RELATIVE_DLLS:
|
|
21
|
+
os.add_dll_directory((root / rel_path).resolve())
|
|
22
|
+
|
|
23
|
+
from .pyf3d import *
|
|
24
|
+
|
|
25
|
+
# Automatically load plugins for the user
|
|
26
|
+
Engine.autoload_plugins()
|
|
27
|
+
|
|
28
|
+
# TODO: Delete this in 3.0, it's there for retrocompatibility with old class naming
|
|
29
|
+
engine = Engine
|
|
30
|
+
options = Options
|
|
31
|
+
loader = Loader
|
|
32
|
+
image = Image
|
|
33
|
+
interactor = Interactor
|
|
34
|
+
window = Window
|
|
35
|
+
camera = Camera
|
|
36
|
+
camera_state_t = CameraState
|
|
37
|
+
utils = Utils
|
|
38
|
+
|
|
39
|
+
__version__ = "2.3.0"
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
################################################################################
|
|
43
|
+
# monkey patch `options.update`
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def f3d_options_update(self, arg):
|
|
47
|
+
try:
|
|
48
|
+
for k, v in arg.items():
|
|
49
|
+
self[k] = v
|
|
50
|
+
return
|
|
51
|
+
except AttributeError:
|
|
52
|
+
pass
|
|
53
|
+
|
|
54
|
+
try:
|
|
55
|
+
for k, v in arg:
|
|
56
|
+
self[k] = v
|
|
57
|
+
return
|
|
58
|
+
except AttributeError:
|
|
59
|
+
pass
|
|
60
|
+
|
|
61
|
+
raise ValueError(f"cannot update {self} from {args}")
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
Options.update = f3d_options_update
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
################################################################################
|
|
68
|
+
# add deprecated warnings
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def deprecated_decorator(f, reason):
|
|
72
|
+
def g(*args, **kwargs):
|
|
73
|
+
warnings.warn(reason, DeprecationWarning, 2)
|
|
74
|
+
return f(*args, **kwargs)
|
|
75
|
+
|
|
76
|
+
return g
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def add_deprecation_warnings():
|
|
80
|
+
for f3d_class in (
|
|
81
|
+
Camera,
|
|
82
|
+
Loader,
|
|
83
|
+
Options,
|
|
84
|
+
Interactor,
|
|
85
|
+
Engine,
|
|
86
|
+
Window,
|
|
87
|
+
):
|
|
88
|
+
for name, member in f3d_class.__dict__.items():
|
|
89
|
+
if callable(member) and member.__doc__:
|
|
90
|
+
m = re.search(r"DEPRECATED(:\s*.+)?", member.__doc__)
|
|
91
|
+
if m:
|
|
92
|
+
reason = m.group(1) or ""
|
|
93
|
+
msg = f"{f3d_class.__qualname__}.{name} is deprecated{reason}"
|
|
94
|
+
setattr(f3d_class, name, deprecated_decorator(member, msg))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
add_deprecation_warnings()
|
f3d/lib64/libf3d.so
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Alembic support (version 1.8.5)",
|
|
3
|
+
"name" : "alembic",
|
|
4
|
+
"readers" :
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"description" : "Alembic",
|
|
8
|
+
"exclude_thumbnailer" : false,
|
|
9
|
+
"extensions" : [ "abc" ],
|
|
10
|
+
"mimetypes" : [ "application/vnd.abc" ],
|
|
11
|
+
"name" : "Alembic"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type" : "STATIC",
|
|
15
|
+
"version" : "1.0"
|
|
16
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Assimp support (version 5.3.0)",
|
|
3
|
+
"name" : "assimp",
|
|
4
|
+
"readers" :
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"description" : "Filmbox",
|
|
8
|
+
"exclude_thumbnailer" : false,
|
|
9
|
+
"extensions" : [ "fbx" ],
|
|
10
|
+
"mimetypes" : [ "application/vnd.fbx" ],
|
|
11
|
+
"name" : "FBX"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"description" : "Collada",
|
|
15
|
+
"exclude_thumbnailer" : false,
|
|
16
|
+
"extensions" : [ "dae" ],
|
|
17
|
+
"mimetypes" : [ "application/vnd.dae" ],
|
|
18
|
+
"name" : "Collada"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"description" : "AutoCAD DXF",
|
|
22
|
+
"exclude_thumbnailer" : false,
|
|
23
|
+
"extensions" : [ "dxf" ],
|
|
24
|
+
"mimetypes" : [ "image/vnd.dxf" ],
|
|
25
|
+
"name" : "DXF"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"description" : "Object File Format",
|
|
29
|
+
"exclude_thumbnailer" : false,
|
|
30
|
+
"extensions" : [ "off" ],
|
|
31
|
+
"mimetypes" : [ "application/vnd.off" ],
|
|
32
|
+
"name" : "OFF"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description" : "DirectX File Format",
|
|
36
|
+
"exclude_thumbnailer" : false,
|
|
37
|
+
"extensions" : [ "x" ],
|
|
38
|
+
"mimetypes" : [ "application/vnd.x" ],
|
|
39
|
+
"name" : "DirectX"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"description" : "3D Manufacturing Format",
|
|
43
|
+
"exclude_thumbnailer" : false,
|
|
44
|
+
"extensions" : [ "3mf" ],
|
|
45
|
+
"mimetypes" : [ "model/3mf" ],
|
|
46
|
+
"name" : "3MF"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"type" : "STATIC",
|
|
50
|
+
"version" : "1.0"
|
|
51
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Draco support (version 1.5.6)",
|
|
3
|
+
"name" : "draco",
|
|
4
|
+
"readers" :
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"description" : "Draco",
|
|
8
|
+
"exclude_thumbnailer" : false,
|
|
9
|
+
"extensions" : [ "drc" ],
|
|
10
|
+
"mimetypes" : [ "application/vnd.drc" ],
|
|
11
|
+
"name" : "Draco"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type" : "STATIC",
|
|
15
|
+
"version" : "1.0"
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "VTK Exodus support",
|
|
3
|
+
"name" : "exodus",
|
|
4
|
+
"readers" :
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"description" : "Exodus II",
|
|
8
|
+
"exclude_thumbnailer" : false,
|
|
9
|
+
"extensions" : [ "exo", "ex2", "e" ],
|
|
10
|
+
"mimetypes" : [ "application/vnd.exodus" ],
|
|
11
|
+
"name" : "ExodusII"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type" : "STATIC",
|
|
15
|
+
"version" : "1.0"
|
|
16
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "Native VTK I/O support",
|
|
3
|
+
"name" : "native",
|
|
4
|
+
"readers" :
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"description" : "Autodesk 3D Studio",
|
|
8
|
+
"exclude_thumbnailer" : false,
|
|
9
|
+
"extensions" : [ "3ds" ],
|
|
10
|
+
"mimetypes" : [ "application/vnd.3ds" ],
|
|
11
|
+
"name" : "3DS"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"description" : "CityGML",
|
|
15
|
+
"exclude_thumbnailer" : false,
|
|
16
|
+
"extensions" : [ "gml" ],
|
|
17
|
+
"mimetypes" : [ "application/gml+xml" ],
|
|
18
|
+
"name" : "CityGML"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"description" : "DICOM",
|
|
22
|
+
"exclude_thumbnailer" : false,
|
|
23
|
+
"extensions" : [ "dcm" ],
|
|
24
|
+
"mimetypes" : [ "application/dicom" ],
|
|
25
|
+
"name" : "DICOM"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"description" : "GL Transmission Format",
|
|
29
|
+
"exclude_thumbnailer" : false,
|
|
30
|
+
"extensions" : [ "gltf", "glb" ],
|
|
31
|
+
"mimetypes" : [ "model/gltf-binary", "model/gltf+json" ],
|
|
32
|
+
"name" : "GLTF"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description" : "MetaImage",
|
|
36
|
+
"exclude_thumbnailer" : false,
|
|
37
|
+
"extensions" : [ "mha", "mhd" ],
|
|
38
|
+
"mimetypes" : [ "application/vnd.mhd" ],
|
|
39
|
+
"name" : "MetaImage"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"description" : "Nearly Raw Raster Data",
|
|
43
|
+
"exclude_thumbnailer" : false,
|
|
44
|
+
"extensions" : [ "nrrd", "nhdr" ],
|
|
45
|
+
"mimetypes" : [ "application/vnd.nrrd" ],
|
|
46
|
+
"name" : "Nrrd"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"description" : "Wavefront OBJ",
|
|
50
|
+
"exclude_thumbnailer" : false,
|
|
51
|
+
"extensions" : [ "obj" ],
|
|
52
|
+
"mimetypes" : [ "model/obj" ],
|
|
53
|
+
"name" : "OBJ"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"description" : "Polygon",
|
|
57
|
+
"exclude_thumbnailer" : false,
|
|
58
|
+
"extensions" : [ "ply" ],
|
|
59
|
+
"mimetypes" : [ "application/vnd.ply" ],
|
|
60
|
+
"name" : "PLYReader"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"description" : "Point Cloud",
|
|
64
|
+
"exclude_thumbnailer" : false,
|
|
65
|
+
"extensions" : [ "pts" ],
|
|
66
|
+
"mimetypes" : [ "application/vnd.pts" ],
|
|
67
|
+
"name" : "PTS"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"description" : "Standard Triangle Language",
|
|
71
|
+
"exclude_thumbnailer" : false,
|
|
72
|
+
"extensions" : [ "stl" ],
|
|
73
|
+
"mimetypes" : [ "model/stl" ],
|
|
74
|
+
"name" : "STL"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"description" : "TIFF",
|
|
78
|
+
"exclude_thumbnailer" : true,
|
|
79
|
+
"extensions" : [ "tiff", "tif" ],
|
|
80
|
+
"mimetypes" : [ "application/x-tgif" ],
|
|
81
|
+
"name" : "TIFF"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"description" : "VRML",
|
|
85
|
+
"exclude_thumbnailer" : false,
|
|
86
|
+
"extensions" : [ "wrl", "vrml" ],
|
|
87
|
+
"mimetypes" : [ "model/vrml" ],
|
|
88
|
+
"name" : "VRMLReader"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"description" : "VTK Legacy",
|
|
92
|
+
"exclude_thumbnailer" : false,
|
|
93
|
+
"extensions" : [ "vtk" ],
|
|
94
|
+
"mimetypes" : [ "application/vnd.vtk" ],
|
|
95
|
+
"name" : "VTKLegacy"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"description" : "VTK XML UnstructuredGrid",
|
|
99
|
+
"exclude_thumbnailer" : false,
|
|
100
|
+
"extensions" : [ "vtu" ],
|
|
101
|
+
"mimetypes" : [ "application/vnd.vtu" ],
|
|
102
|
+
"name" : "VTKXMLVTU"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"description" : "VTK XML PolyData",
|
|
106
|
+
"exclude_thumbnailer" : false,
|
|
107
|
+
"extensions" : [ "vtp" ],
|
|
108
|
+
"mimetypes" : [ "application/vnd.vtp" ],
|
|
109
|
+
"name" : "VTKXMLVTP"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"description" : "VTK XML ImageData",
|
|
113
|
+
"exclude_thumbnailer" : false,
|
|
114
|
+
"extensions" : [ "vti" ],
|
|
115
|
+
"mimetypes" : [ "application/vnd.vti" ],
|
|
116
|
+
"name" : "VTKXMLVTI"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"description" : "VTK XML RectangularGrid",
|
|
120
|
+
"exclude_thumbnailer" : false,
|
|
121
|
+
"extensions" : [ "vtr" ],
|
|
122
|
+
"mimetypes" : [ "application/vnd.vtr" ],
|
|
123
|
+
"name" : "VTKXMLVTR"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"description" : "VTK XML StructuredGrid",
|
|
127
|
+
"exclude_thumbnailer" : false,
|
|
128
|
+
"extensions" : [ "vts" ],
|
|
129
|
+
"mimetypes" : [ "application/vnd.vts" ],
|
|
130
|
+
"name" : "VTKXMLVTS"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"description" : "VTK XML MultiBlock",
|
|
134
|
+
"exclude_thumbnailer" : false,
|
|
135
|
+
"extensions" : [ "vtm" ],
|
|
136
|
+
"mimetypes" : [ "application/vnd.vtm" ],
|
|
137
|
+
"name" : "VTKXMLVTM"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"type" : "STATIC",
|
|
141
|
+
"version" : "1.0"
|
|
142
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description" : "OpenCASCADE support (version 7.7.2)",
|
|
3
|
+
"name" : "occt",
|
|
4
|
+
"readers" :
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"description" : "STEP ISO 10303",
|
|
8
|
+
"exclude_thumbnailer" : false,
|
|
9
|
+
"extensions" : [ "stp", "step", "stpnc", "p21", "210" ],
|
|
10
|
+
"mimetypes" : [ "application/vnd.step" ],
|
|
11
|
+
"name" : "STEP"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"description" : "Initial Graphics Exchange Specification",
|
|
15
|
+
"exclude_thumbnailer" : false,
|
|
16
|
+
"extensions" : [ "igs", "iges" ],
|
|
17
|
+
"mimetypes" : [ "model/iges" ],
|
|
18
|
+
"name" : "IGES"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"description" : "Open CASCADE BRep",
|
|
22
|
+
"exclude_thumbnailer" : false,
|
|
23
|
+
"extensions" : [ "brep" ],
|
|
24
|
+
"mimetypes" : [ "application/vnd.brep" ],
|
|
25
|
+
"name" : "BREP"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"type" : "STATIC",
|
|
29
|
+
"version" : "1.0"
|
|
30
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: f3d
|
|
3
|
+
Version: 2.3.0
|
|
4
|
+
Summary: F3D, a fast and minimalist 3D viewer
|
|
5
|
+
Keywords: vtk animations fbx step stl gltf pbr raytracing rendering
|
|
6
|
+
Author: Michael Migliore, Mathieu Westphal
|
|
7
|
+
Maintainer-Email: Michael Migliore <mcmigliore+pip@gmail.com>
|
|
8
|
+
License: BSD 3-Clause License
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Operating System :: POSIX
|
|
13
|
+
Classifier: Operating System :: MacOS
|
|
14
|
+
Classifier: Programming Language :: C++
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
|
|
17
|
+
Classifier: Topic :: Multimedia :: Graphics :: Viewers
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
19
|
+
Project-URL: Homepage, https://f3d.app
|
|
20
|
+
Project-URL: Repository, https://github.com/f3d-app/f3d.git
|
|
21
|
+
Project-URL: Changelog, https://github.com/f3d-app/f3d/blob/master/doc/CHANGELOG.md
|
|
22
|
+
Requires-Python: >=3.8
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE.md
|
|
25
|
+
License-File: doc/THIRD_PARTY_LICENSES.md
|
|
26
|
+
|
|
27
|
+
[](https://github.com/f3d-app/f3d/actions/workflows/ci.yml) [](https://github.com/f3d-app/f3d-superbuild) [](https://codecov.io/gh/f3d-app/f3d) [](https://github.com/f3d-app/f3d/releases) [](https://github.com/sponsors/f3d-app) [](https://discord.f3d.app)
|
|
28
|
+
|
|
29
|
+
# F3D - Fast and minimalist 3D viewer
|
|
30
|
+
By Michael Migliore and Mathieu Westphal.
|
|
31
|
+
|
|
32
|
+
<img src="https://raw.githubusercontent.com/f3d-app/f3d/master/resources/logo.svg" align="left" width="20px"/>
|
|
33
|
+
F3D (pronounced `/fɛd/`) is a fast and minimalist 3D viewer desktop application. It supports many file formats, from digital content to scientific datasets (including glTF, USD, STL, STEP, PLY, OBJ, FBX, Alembic), can show animations and support thumbnails and many rendering and texturing options including real time physically based rendering and raytracing.
|
|
34
|
+
<br clear="left"/>
|
|
35
|
+
|
|
36
|
+
It is fully controllable from the command line and support configuration files. It can provide thumbnails, support interactive hotkeys, drag&drop and integration into file managers.
|
|
37
|
+
|
|
38
|
+
F3D also contains the libf3d, a simple library to render meshes, with C++ and Python Bindings, as well as experimental Java and Javascript bindings.
|
|
39
|
+
|
|
40
|
+
<img src="https://user-images.githubusercontent.com/3129530/194735416-3f386437-456c-4145-9b5e-6bb6451d7e9a.png" width="640">
|
|
41
|
+
|
|
42
|
+
*A typical render by F3D*
|
|
43
|
+
|
|
44
|
+
<img src="https://user-images.githubusercontent.com/3129530/194735261-dd6f1c1c-fa57-47b0-9d27-f735d18ccd5e.gif" width="640">
|
|
45
|
+
|
|
46
|
+
*Animation of a glTF file within F3D*
|
|
47
|
+
|
|
48
|
+
<img src="https://user-images.githubusercontent.com/3129530/194735272-5bcd3e7c-a333-41f5-8066-9b0bec9885e8.png" width="640">
|
|
49
|
+
|
|
50
|
+
*A direct scalars render by F3D*
|
|
51
|
+
|
|
52
|
+
See the [gallery](doc/GALLERY.md) for more images, take a look at the [changelog](doc/CHANGELOG.md) or go to the [install guide](doc/user/INSTALLATION.md) to download and install F3D!
|
|
53
|
+
|
|
54
|
+
If you need any help or want to discuss with other F3D users and developers, head over to our [discord](https://discord.f3d.app).
|
|
55
|
+
|
|
56
|
+
# Quickstart
|
|
57
|
+
|
|
58
|
+
Open a file and visualize it interactively:
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
f3d /path/to/file.ext
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Open a file and save the rendering into an image file:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
f3d /path/to/file.ext --output=/path/to/img.png
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Get help:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
f3d --help
|
|
74
|
+
man f3d # Linux only
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
# Documentation
|
|
78
|
+
|
|
79
|
+
- To get started, please take a look at the [user documentation](doc/user/README_USER.md).
|
|
80
|
+
- If you need any help, are looking for a feature or found a bug, please open an [issue](https://github.com/f3d-app/f3d/issues).
|
|
81
|
+
- If you want to use the libf3d, please take a look at its [documentation](doc/libf3d/README_LIBF3D.md).
|
|
82
|
+
- If you want to build F3D, please take a look at the [developer documentation](doc/dev/README_DEV.md).
|
|
83
|
+
|
|
84
|
+
# Support
|
|
85
|
+
|
|
86
|
+
F3D is developed by a team of passionate devs. Please use F3D, star it on github or even become a [sponsor](https://github.com/sponsors/f3d-app) to support us!
|
|
87
|
+
|
|
88
|
+
## Contributing
|
|
89
|
+
|
|
90
|
+
We envision F3D as a community-driven project, we love to see how the project is growing thanks to the contributions from the community. We would love to see your face in the list below! If you want to contribute to F3D, you are very welcome to! Take a look at our [contribution documentation](CONTRIBUTING.md).
|
|
91
|
+
|
|
92
|
+
<a href="https://github.com/f3d-app/f3d/graphs/contributors">
|
|
93
|
+
<img src="https://contrib.rocks/image?repo=f3d-app/f3d" />
|
|
94
|
+
</a>
|
|
95
|
+
|
|
96
|
+
# Acknowledgments
|
|
97
|
+
|
|
98
|
+
F3D was initially created by [Kitware SAS](https://www.kitware.eu/) and is relying on many awesome open source projects, including [VTK](https://vtk.org/), [OCCT](https://dev.opencascade.org/), [Assimp](https://www.assimp.org/), [Alembic](http://www.alembic.io/), [Draco](https://google.github.io/draco/), [OpenUSD](https://openusd.org/release/index.html), [OpenVDB](https://www.openvdb.org/) and [OSPRay](https://www.ospray.org/).
|
|
99
|
+
|
|
100
|
+
# License
|
|
101
|
+
|
|
102
|
+
F3D can be used and distributed under the 3-Clause BSD License, see the [license](LICENSE.md).
|
|
103
|
+
F3D integrate the sources of other libraries and tools, all under permissive licenses, see the [third party licenses](doc/THIRD_PARTY_LICENSES.md).
|
|
104
|
+
F3D packages relies on other libraries and tools, all under permissive licenses, all listed in the respective packages.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
f3d/__init__.py,sha256=6MlcKRDwyATlIr0MczFHPYz5isPp93nem3eQle1yo48,2227
|
|
2
|
+
f3d/lib64/libf3d.so,sha256=JPtu6dmmLSWQyPFk_kdGomI2Ea8NQX6riaU9iadFp28,102942992
|
|
3
|
+
f3d/pyf3d.cpython-312-x86_64-linux-gnu.so,sha256=ql53ElOmguoM-o17cxfKAVwz7W61Asb45oJLFlguYoI,475040
|
|
4
|
+
f3d/share/f3d/plugins/alembic.json,sha256=pC1dSQlv0g68SD85l_k8L33gK5MXVrARErfAUGB4mbM,329
|
|
5
|
+
f3d/share/f3d/plugins/assimp.json,sha256=rR0BSAGTlJb2Dyj9pyd7LPc34rTc9_4UZGScHmGZ80U,1269
|
|
6
|
+
f3d/share/f3d/plugins/draco.json,sha256=Ma_EdFkvYvnnnAXfPR2U3EIkJ_7HCenN1oNrKcW_jho,321
|
|
7
|
+
f3d/share/f3d/plugins/exodus.json,sha256=guG5riuBu-Db1BL9Tu683B1O_N1aDeZ_-ky7zW6Fh0c,333
|
|
8
|
+
f3d/share/f3d/plugins/native.json,sha256=SQ9OBuHrm51V6ruzR2eDRIONiPUenxeLrBwiHGKAA7w,3849
|
|
9
|
+
f3d/share/f3d/plugins/occt.json,sha256=xgFrKzfCMreySothAQTjKh7WKdEP8j4ipzyYXhgvgEA,777
|
|
10
|
+
f3d-2.3.0.dist-info/METADATA,sha256=YVfAVvNUCt--Bhk_iSdE7dGSTC5HMWNNkCNsTqagA3k,5818
|
|
11
|
+
f3d-2.3.0.dist-info/WHEEL,sha256=TlsMm1fu9VG8T3P3xxYtXGCgOsyJoaUhRs0U7GCw0G8,117
|
|
12
|
+
f3d-2.3.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
f3d-2.3.0.dist-info/licenses/LICENSE.md,sha256=hAu1RYYOc3QQgF1JOsFmyRu1a0SxSSf6Xzu02mO9dS4,1571
|
|
14
|
+
f3d-2.3.0.dist-info/licenses/doc/THIRD_PARTY_LICENSES.md,sha256=rluVratui6Ovkzre4tkgO7xa5y1_X9ZriXZekmRMSYA,2586
|
|
15
|
+
f3d-2.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
* Copyright 2019-2021 Kitware SAS
|
|
4
|
+
* Copyright 2021-2024 Michael Migliore, Mathieu Westphal
|
|
5
|
+
|
|
6
|
+
All rights reserved.
|
|
7
|
+
|
|
8
|
+
Redistribution and use in source and binary forms, with or without
|
|
9
|
+
modification, are permitted provided that the following conditions are met:
|
|
10
|
+
|
|
11
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
12
|
+
list of conditions and the following disclaimer.
|
|
13
|
+
|
|
14
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
15
|
+
this list of conditions and the following disclaimer in the documentation
|
|
16
|
+
and/or other materials provided with the distribution.
|
|
17
|
+
|
|
18
|
+
* Neither the name of the copyright holder nor the names of its
|
|
19
|
+
contributors may be used to endorse or promote products derived from
|
|
20
|
+
this software without specific prior written permission.
|
|
21
|
+
|
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
23
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
24
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
25
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
26
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
27
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
28
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
29
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
30
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
31
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Third Party Copyrights and License within F3D application source
|
|
2
|
+
|
|
3
|
+
## cxxopts.hpp:
|
|
4
|
+
```
|
|
5
|
+
Copyright (c) 2014, 2015, 2016, 2017 Jarryd Beck
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## json.hpp:
|
|
27
|
+
```
|
|
28
|
+
__ _____ _____ _____
|
|
29
|
+
__| | __| | | | JSON for Modern C++
|
|
30
|
+
| | |__ | | | | | | version 3.10.5
|
|
31
|
+
|_____|_____|_____|_|___| https://github.com/nlohmann/json
|
|
32
|
+
|
|
33
|
+
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
|
|
34
|
+
SPDX-License-Identifier: MIT
|
|
35
|
+
Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>.
|
|
36
|
+
|
|
37
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
38
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
39
|
+
in the Software without restriction, including without limitation the rights
|
|
40
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
41
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
42
|
+
furnished to do so, subject to the following conditions:
|
|
43
|
+
|
|
44
|
+
The above copyright notice and this permission notice shall be included in all
|
|
45
|
+
copies or substantial portions of the Software.
|
|
46
|
+
|
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
48
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
49
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
50
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
51
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
52
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
53
|
+
SOFTWARE.
|
|
54
|
+
```
|