python-cad-tools 0.1.26__tar.gz → 0.1.27__tar.gz
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.
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/CHANGELOG.md +7 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/PKG-INFO +1 -1
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/custom_view.py +2 -1
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/glb.py +2 -1
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/renders.py +17 -1
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/PKG-INFO +1 -1
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/scm_file_list.json +1 -0
- python_cad_tools-0.1.27/src/python_cad_tools.egg-info/scm_version.json +8 -0
- python_cad_tools-0.1.26/src/python_cad_tools.egg-info/scm_version.json +0 -8
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.gitattributes +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.githooks/pre-push +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.github/workflows/ci.yml +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.github/workflows/downstream-compatibility.yml +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.github/workflows/release-candidate.yml +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.github/workflows/release.yml +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.gitignore +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.opencode/commands/autocommit.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.opencode/tools/specrepo-autocommit.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.opencode/tools/specrepo-autocommit.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/AGENTS.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/CLAUDE.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/LICENSE +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/MANIFEST.in +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/README.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/build-semantics.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/drawing-extensions.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/manifests.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/neutral-model.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/project-configuration.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/public-api.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/spikes/curved-geometry-ifc-bounds.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/spikes/format-feasibility.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/toolchain.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/two-tier-contract.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/viewer-delivery.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/pyproject.toml +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/setup.cfg +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/__init__.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/__main__.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_locking.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_project_loader.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_project_state.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_scaffold.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_transaction.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/app.webmanifest +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/asset-manifest.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/animationGroup-DHMjljmB.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/bakedVertexAnimation-MGFbbw7F.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/basisTextureLoader-BPZV974Q.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/brdfTextureTools-B1t2XUsh.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/bumpFragment-DCxLmG61.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/bumpVertex-0oYjoQMQ.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/bumpVertexDeclaration-BGUPjxym.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/clipPlaneFragment-DD2JPAF1.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/clipPlaneVertex-DN96wmQc.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/cubemapToSphericalPolynomial-CF0hkqTs.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/dds-B77UKtBn.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/dds.pure-B715oIs0.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/ddsTextureLoader-7G8Qcc0n.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/default.fragment-tZ0oStCg.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/default.vertex-C-PbmgtW.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/defaultUboDeclaration-DA6nmrud.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/envTextureLoader-lsNPYPhe.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/exrTextureLoader-SjwgJAc5.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphApplyForceBlock-DTjrMcjl.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphApplyImpulseBlock-DamPsUZI.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphArrayIndexBlock-rHV_9Jtd.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphBezierCurveEasingBlock-B1Mzuvj7.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphBinaryOperationBlock-BYSm-X9P.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphBranchBlock-DLLGKTbV.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphCachedOperationBlock-DyT2_YKh.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphCancelDelayBlock-CLlaui7O.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphCodeExecutionBlock-ezmwTbI5.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphConditionalDataBlock-BWCBa9B7.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphConsoleLogBlock-Tq8YSBFN.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphConstantBlock-B56RKoF4.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphContextBlock-CjuSDwmc.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphCounterBlock-Bmk4MxN7.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphDataSwitchBlock-Dvi9ZvsH.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphDebounceBlock-Bj7RTBgv.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphDebugBlock-CGd8wpR5.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphDoNBlock-BGZpjQAX.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphEasingBlock-BzLE44T-.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphFlipFlopBlock-D8_88xUA.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphForLoopBlock-CF8dXGIg.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphFunctionReferenceBlock-D_YGg8QR.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGLTFDataProvider-B8SiMj9v.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetAngularVelocityBlock-DzEtWSf5.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetAssetBlock-CIhvXJWA.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetLinearVelocityBlock-DqgIoJQv.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetPhysicsMassPropertiesBlock-CUHG6HMx.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetPropertyBlock-CoS75-c_.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetSoundVolumeBlock-1HiYij4X.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphGetVariableBlock-Bzpa8R9d.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphIndexOfBlock-ooox6LH_.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphInterpolationBlock-Df2jq977.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphIsKeyPressedBlock-B6KLFUdL.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphIsSoundPlayingBlock-CZe8gZ1b.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphJsonPointerParserBlock-gyM8wAf_.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphKeyDownEventBlock-CD-zMI2Y.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphKeyUpEventBlock-dmq771Ye.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphKeyboardEventBlock-DcU45hIv.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphMathBlocks-D3K59ZYx.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphMathCombineExtractBlocks-B84bxb6q.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphMatrixMathBlocks-DvWcRK48.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphMeshPickEventBlock-D1QtxJNf.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphMultiGateBlock-BCpUwYzV.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPauseAnimationBlock-DRNt_SDm.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPauseSoundBlock-Bg-E3ycn.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPhysicsCollisionEventBlock-DNyeMY32.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPlayAnimationBlock-nxquuNCT.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPlaySoundBlock-Buah9Tkc.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPointerDownEventBlock-B9bwUWa1.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPointerMoveEventBlock-BM0TL_xE.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPointerOutEventBlock-CJgEh8yV.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPointerOverEventBlock-DTHG-KwO.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphPointerUpEventBlock-DMGZmwMB.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphReceiveCustomEventBlock-CSI8HkWd.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSceneReadyEventBlock-BE_6AF0x.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSceneTickEventBlock-zQ9Lr3Qw.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSendCustomEventBlock-rOgY8mka.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSequenceBlock-BY_DG0RM.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetAngularVelocityBlock-BWkX9sU3.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetDelayBlock-BiQhdbqp.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetLinearVelocityBlock-6Stexwnu.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetPhysicsMotionTypeBlock-BhbU9SXg.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetPropertyBlock-BVIo1W8-.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetSoundVolumeBlock-BmVOXY0c.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSetVariableBlock-BjKR1mgz.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSoundEndedEventBlock-Dw-5bxJv.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphStopAnimationBlock-DrLtPiEv.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphStopSoundBlock--MzW9jji.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphSwitchBlock-X2ZoX6tx.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphThrottleBlock-BZ2PAian.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphTransformCoordinatesSystemBlock-BEBk8xav.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphTypeToTypeBlocks-DPY_kyih.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphUnaryOperationBlock-D7h--Cdt.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphVectorMathBlocks-2EgD4-kQ.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphWaitAllBlock-CmOzDK5N.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/flowGraphWhileLoopBlock-CbejmuGP.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/fogFragment-BTBA7CTP.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/fxaa.fragment-C2eATj9H.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/fxaa.vertex-D0i6Mi6U.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplatting-DSSuHojJ.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplatting-z1QQSYr0.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplatting.fragment-BIkORghW.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplatting.fragment-CPhYpx9O.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplatting.vertex-Bb7V--au.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplatting.vertex-DlNYcW-d.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplattingVoxel.fragment-3ZOEWhKY.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplattingVoxel.fragment-C2JvL2AM.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplattingVoxel.vertex-3lxrHk65.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/gaussianSplattingVoxel.vertex-CwZjSh-j.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/geometry.fragment-B7Bs1-FX.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/geometry.fragment-C9e-kv94.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/geometry.vertex-CxQUKoXe.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/geometry.vertex-DLLF9YL6.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/glowBlurPostProcess.fragment-DJ7GA0Ms.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/glowMapGeneration.fragment-IiyeP0wJ.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/glowMapGeneration.vertex-D08z2Pqo.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/glowMapMerge.fragment-b_QAS0QR.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/glowMapMerge.vertex-CMSyDSpX.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/harmonicsFunctions-DT0Dhsff.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/hdrTextureLoader-BGQvgh0h.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/helperFunctions-Qma8-N-8.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/iesTextureLoader-VePZ3QkV.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/index-C7PQDOQI.css +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/index-Dl0bWA0T.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/kernelBlur.fragment-ChxVYEAV.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/kernelBlur.fragment-DdUkyZYa.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/kernelBlur.vertex-CfFBINQK.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/kernelBlur.vertex-CsUEAlHp.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/kernelBlurVaryingDeclaration-BfbSJvpD.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/kernelBlurVaryingDeclaration-YWfJbImG.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/ktxTextureLoader-DyPXrWbN.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/lightFragment-D1PDwXO3.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/logDepthDeclaration-DzsADhSm.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/logDepthVertex-CVDFVyev.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/mainUVVaryingDeclaration-DapA_gli.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/mesh.vertexData.functions-ayNlGC5K.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/meshUboDeclaration-ZqbKD_Z-.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/oitFragment-C5HMolir.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbr.fragment-CIMBKpMg.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbr.fragment-SdCxmuNh.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbr.vertex-CsVq8zRS.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbr.vertex-D6KDFxU7.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbrMaterial.pure-crOU97Ej.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbrMaterialLoadingAdapter-BU5tmfb_.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbrTransmissionLayerData-CSoLogLq.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbrTransmissionLayerData-Zc5U1uW1.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbrUboDeclaration-BHnTD3Hj.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/openpbrUboDeclaration-qTe8FOQM.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/packingFunctions-BTo087et.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/packingFunctions-DkOVZ6dP.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pass.fragment-Fvo7rkse.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/passCube.fragment-Bpo9R9Mm.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/passCube.fragment-Dx2u9rd3.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbr.fragment-CsJ83gJP.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbr.vertex-Bjk8gi5S.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbrBRDFFunctions-BIkS5CLc.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbrDebug-DXECYWn5.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbrIBLFunctions-D3D1vikc.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbrMaterial.pure-D27tv6kx.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbrMaterialLoadingAdapter-B2QPSPXm.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/pbrUboDeclaration-CRUyhK8m.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/postprocess.vertex-BVUTk21B.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/procedural.vertex-D4hY2WEA.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/procedural.vertex-WHGaOSkN.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/reflectionFunction-Qpn0UPP2.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/rgbdDecode.fragment-CUYoCQBj.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/rgbdEncode.fragment-Cg9wCk1i.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/rgbdEncode.fragment-NifDqc2S.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/sceneUboDeclaration-D3Naneg4.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/textureProcessor.fragment-BUFM97It.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/textureProcessor.fragment-BbKV5o42.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/tgaTextureLoader-C_Gwe725.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/assets/vertexColorMixing-DXtapHBI.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/favicon.svg +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/index.html +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/_viewer_static/sw.js +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/artifacts.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/build-info.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/build.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/cli.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/context.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/determinism.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/drawings/__init__.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/drawings/_catalog.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/drawings/_validation.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/elements.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exceptions.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/__init__.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/base.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/__init__.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/annotations.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/dxf.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/model.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/pdf.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/primitives.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/projection.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/drawings/svg.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/ifc.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/quantities.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/step.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/geometry.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/manifests.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/project_config.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/py.typed +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/recipes.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/runtime_sync.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/build-manifest-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/design-manifest-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/download-manifest-2.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/drawing-annotations-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/glb-manifest-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/ifc-validation-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/quantities-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/run-metadata-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/site-metadata-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/schemas/step-validation-1.json +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/site.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/.gitignore +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/README.md +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/config.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/drawing_annotations.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/generated/.gitkeep +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/model.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/templates/project/pyproject.toml +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/units.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/validation.py +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/SOURCES.txt +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/dependency_links.txt +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/entry_points.txt +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/requires.txt +0 -0
- {python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/top_level.txt +0 -0
|
@@ -9,6 +9,13 @@ stable release is published.
|
|
|
9
9
|
|
|
10
10
|
### Fixed
|
|
11
11
|
|
|
12
|
+
- An element with no colour of its own is drawn in its material's colour in
|
|
13
|
+
the GLB (viewer), renders and captured views, as the IFC export already
|
|
14
|
+
did. Models that coloured parts only through `MaterialSpec` showed every
|
|
15
|
+
part in the default grey.
|
|
16
|
+
- Captured-view PDF sheets draw their lines by layer, as the SVG and DXF
|
|
17
|
+
sheets already did: visible edges and section cuts are solid, and only
|
|
18
|
+
hidden edges are dashed. Every edge used to be drawn as a dashed blue line.
|
|
12
19
|
- File names in the viewer's documents list show as written (no forced
|
|
13
20
|
capitals, which turned `test_front.dxf` into `Test_front.Dxf`).
|
|
14
21
|
|
{python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/custom_view.py
RENAMED
|
@@ -40,6 +40,7 @@ from .renders import (
|
|
|
40
40
|
_DEPTH_SCALE,
|
|
41
41
|
_LINEAR_DEFLECTION,
|
|
42
42
|
_rasterize,
|
|
43
|
+
display_color,
|
|
43
44
|
encode_png,
|
|
44
45
|
)
|
|
45
46
|
|
|
@@ -153,7 +154,7 @@ def included_scene(model, view: CapturedView) -> tuple[np.ndarray, np.ndarray, n
|
|
|
153
154
|
vertices = np.asarray(points, dtype=np.float64)
|
|
154
155
|
all_vertices.append(vertices)
|
|
155
156
|
all_faces.append(np.asarray(triangles, dtype=np.int64) + offset)
|
|
156
|
-
color = np.asarray(element
|
|
157
|
+
color = np.asarray(display_color(element), dtype=np.float64)
|
|
157
158
|
all_colors.append(np.repeat(color[None, :], len(triangles), axis=0))
|
|
158
159
|
all_owners.append(np.full(len(triangles), number, dtype=np.int64))
|
|
159
160
|
used.append(element)
|
|
@@ -13,6 +13,7 @@ from ..determinism import write_json
|
|
|
13
13
|
from ..exceptions import BuildExportError
|
|
14
14
|
from ..geometry import combined_bounds, tessellate
|
|
15
15
|
from .base import selected_elements
|
|
16
|
+
from .renders import display_color
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
class GlbExporter:
|
|
@@ -35,7 +36,7 @@ class GlbExporter:
|
|
|
35
36
|
material = trimesh.visual.material.PBRMaterial(
|
|
36
37
|
name=element.material.name if element.material else element.id,
|
|
37
38
|
baseColorFactor=[
|
|
38
|
-
int(round(channel * 255)) for channel in (element
|
|
39
|
+
int(round(channel * 255)) for channel in display_color(element)
|
|
39
40
|
]
|
|
40
41
|
+ [255],
|
|
41
42
|
metallicFactor=0.0,
|
{python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools/exporters/renders.py
RENAMED
|
@@ -19,6 +19,7 @@ import struct
|
|
|
19
19
|
import zlib
|
|
20
20
|
from dataclasses import dataclass
|
|
21
21
|
from pathlib import Path
|
|
22
|
+
from typing import TYPE_CHECKING
|
|
22
23
|
|
|
23
24
|
import numpy as np
|
|
24
25
|
|
|
@@ -26,6 +27,9 @@ from ..exceptions import ArtifactIntegrityError, BuildExportError
|
|
|
26
27
|
from ..geometry import tessellate
|
|
27
28
|
from .base import selected_elements
|
|
28
29
|
|
|
30
|
+
if TYPE_CHECKING:
|
|
31
|
+
from ..elements import Color, DesignElement
|
|
32
|
+
|
|
29
33
|
#: The views, in output order, and the file each writes (``<stem>_<view>.png``).
|
|
30
34
|
RENDER_VIEWS: tuple[str, ...] = ("top", "front", "side", "three_quarter")
|
|
31
35
|
#: Longest image edge in pixels; the other edge follows the view's proportions.
|
|
@@ -70,6 +74,18 @@ class _View:
|
|
|
70
74
|
toward: tuple[float, float, float]
|
|
71
75
|
|
|
72
76
|
|
|
77
|
+
def display_color(element: DesignElement) -> Color:
|
|
78
|
+
"""The colour an element is drawn in: its own, else its material's, else the default grey.
|
|
79
|
+
|
|
80
|
+
2026-11-05: an element coloured only through its ``MaterialSpec`` showed grey in the viewer
|
|
81
|
+
(the IFC export already fell back to the material colour)."""
|
|
82
|
+
if element.color_rgb is not None:
|
|
83
|
+
return element.color_rgb
|
|
84
|
+
if element.material is not None and element.material.color_rgb is not None:
|
|
85
|
+
return element.material.color_rgb
|
|
86
|
+
return _DEFAULT_COLOR
|
|
87
|
+
|
|
88
|
+
|
|
73
89
|
def _unit(vector: tuple[float, float, float]) -> tuple[float, float, float]:
|
|
74
90
|
x, y, z = vector
|
|
75
91
|
length = math.sqrt(x * x + y * y + z * z)
|
|
@@ -137,7 +153,7 @@ def _scene(model) -> tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
|
|
|
137
153
|
continue
|
|
138
154
|
vertices = np.asarray(points, dtype=np.float64)
|
|
139
155
|
faces = np.asarray(triangles, dtype=np.int64) + offset
|
|
140
|
-
color = np.asarray(element
|
|
156
|
+
color = np.asarray(display_color(element), dtype=np.float64)
|
|
141
157
|
all_vertices.append(vertices)
|
|
142
158
|
all_faces.append(faces)
|
|
143
159
|
all_colors.append(np.repeat(color[None, :], len(faces), axis=0))
|
{python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/src/python_cad_tools.egg-info/scm_file_list.json
RENAMED
|
@@ -277,6 +277,7 @@
|
|
|
277
277
|
"tests/typing/test_external_typing.py",
|
|
278
278
|
"tests/unit/test_curved_geometry_units.py",
|
|
279
279
|
"tests/unit/test_custom_view.py",
|
|
280
|
+
"tests/unit/test_display_color.py",
|
|
280
281
|
"tests/unit/test_drawings.py",
|
|
281
282
|
"tests/unit/test_manifests.py",
|
|
282
283
|
"tests/unit/test_model_contract.py",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/.github/workflows/downstream-compatibility.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_cad_tools-0.1.26 → python_cad_tools-0.1.27}/docs/spikes/curved-geometry-ifc-bounds.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|