Bitbybit Docs
    Preparing search index...

    Namespace Bit

    The root namespace for the whole Bitbybit API. Everything lives under it, in three layers: the operation classes you call, the Inputs namespaces describing the parameter objects those calls take, and the Models namespaces describing what they hand back.

    In a script you rarely write Bit. yourself - the top-level constants below (occt, jscad, manifold, vector, draw and the rest) are already bound for you, so you write occt.shapes rather than reaching through the namespace. Read this tree when you need to know what a parameter or a result is actually shaped like.

    Namespaces

    Inputs
    Models
    Things
    Advanced
    BaseTypes

    Classes

    BitByBitJSCAD
    JSCADBooleans
    JSCADColors
    JSCADExpansions
    JSCADExtrusions
    JSCADHulls
    JSCAD
    JSCADPath
    JSCADPolygon
    JSCADShapes
    JSCADText
    BitByBitManifold
    CrossSectionBooleans
    ManifoldCrossSection
    CrossSectionEvaluate
    CrossSectionOperations
    CrossSectionShapes
    CrossSectionTransforms
    ManifoldBooleans
    ManifoldEvaluate
    Manifold
    ManifoldOperations
    ManifoldShapes
    ManifoldTransforms
    ManifoldBitByBit
    MeshEvaluate
    Mesh
    MeshOperations
    ManifoldRecipes
    IFCAssemblies
    IFCBeams
    BitByBitIFC
    IFCColumns
    IFCDoors
    IFCGeometry
    IFCBitByBit
    IFCMaterials
    IFCMembers
    IFCModels
    IFCOpenings
    IFCProperties
    IFCQuantities
    IFCRoofs
    IFCSite
    IFCSlabs
    IFCSpaces
    IFCSpatial
    IFCWalls
    IFCWindows
    BitByBitOCCT
    OCCTAnalysis
    OCCTAnalysisClashes
    OCCTAnalysisCurves
    OCCTAnalysisMeasure
    OCCTAnalysisSurfaces
    OCCTAssembly
    OCCTAssemblyManager
    OCCTAssemblyQuery
    OCCTBooleans
    OCCTBrepGraph
    OCCTCorners
    OCCTDesign
    OCCTDimensions
    OCCTDraft
    OCCTFeatures
    OCCTFillets
    OCCTCurves
    OCCTGeom
    OCCTSurfaces
    OCCTIO
    OCCT
    OCCTOperations
    OCCTPath
    OCCTRecipes
    OCCTSelectEdges
    OCCTSelectFaces
    OCCTSelect
    OCCTShapeFix
    OCCTCompound
    OCCTEdge
    OCCTFace
    OCCTShape
    OCCTShapes
    OCCTShell
    OCCTSolid
    OCCTVertex
    OCCTWire
    OCCTSketchCommands
    OCCTSketch
    OCCTSVG
    OCCTTransforms
    Babylon
    BabylonArcRotateCamera
    BabylonCamera
    BabylonFreeCamera
    BabylonTargetCamera
    BabylonDecal
    BabylonEngine
    BabylonGaussianSplatting
    BabylonGizmoAxisDragGizmo
    BabylonGizmoAxisScaleGizmo
    BabylonGizmoBoundingBoxGizmo
    BabylonGizmoBase
    BabylonGizmo
    BabylonGizmoManager
    BabylonGizmoPlaneDragGizmo
    BabylonGizmoPlaneRotationGizmo
    BabylonGizmoPositionGizmo
    BabylonGizmoRotationGizmo
    BabylonGizmoScaleGizmo
    BabylonGltf
    BabylonGuiAdvancedDynamicTexture
    BabylonGuiButton
    BabylonGuiCheckbox
    BabylonGuiColorPicker
    BabylonGuiContainer
    BabylonGuiControl
    BabylonGui
    BabylonGuiImage
    BabylonGuiInputText
    BabylonGuiRadioButton
    BabylonGuiSlider
    BabylonGuiStackPanel
    BabylonGuiTextBlock
    BabylonIO
    BabylonLights
    BabylonShadowLight
    BabylonMaterial
    BabylonMaterialPbrMetallicRoughness
    BabylonMaterialSky
    BabylonMeshBuilder
    BabylonMesh
    BabylonNode
    BabylonPick
    BabylonRay
    BabylonScene
    BabylonTexture
    BabylonTools
    BabylonTransforms
    BabylonWebXRBase
    BabylonWebXRSimple
    BabylonWebXR
    Draw
    Color
    Dates
    Frame
    GeometryHelper
    DxfGenerator
    Dxf
    IoBitByBit
    Line
    Lists
    Logic
    MathBitByBit
    MeshBitByBit
    Point
    Polyline
    TextBitByBit
    Transforms
    Vector
    Asset
    CSVBitByBit
    IFCWGeometry
    IFCW
    JSONBitByBit
    OCCTWIO
    OCCTW
    Tag
    Time
    VerbCurveCircle
    VerbCurveEllipse
    VerbCurve
    VerbIntersect
    VerbSurfaceConical
    VerbSurfaceCylindrical
    VerbSurfaceExtrusion
    VerbSurfaceRevolved
    VerbSurfaceSpherical
    VerbSurfaceSweep
    VerbSurface
    Verb
    AdvancedAdv
    Dimensions
    AngularDimension
    DiametralDimension
    DimensionExpressionService
    DimensionManager
    DimensionRenderingService
    DimensionServiceManager
    DimensionText3D
    LinearDimension
    OrdinateDimension
    RadialDimension
    CameraManager
    EaseCurve
    PointOfInterest
    FacePatterns
    PyramidSimple
    Patterns
    Text3D
    ContextComplete
    DrawComplete
    CreateMaterialDto
    MaterialsService
    ThreeDPrinting
    Boxes
    SpicyBox
    CalmCup
    Cups
    DragonCup
    Desktop
    PhoneNest
    EternalLove
    Medals
    ArabicArchway
    SerenitySwirl
    Vases
    Architecture
    Houses
    ZenHideout
    Enums
    Chairs
    SnakeChair
    Furniture
    ElegantTable
    GoodCoffeeTable
    SnakeTable
    Tables
    Birdhouses
    ChirpyChalet
    WingtipVilla
    KidsCorner
    DropletsPhoneHolder
    Gadgets
    LaserCutting
    ThingsAdv

    Interfaces

    IfcReference
    IfcEnumerationValue
    IfcTypedValue
    IfcBinaryValue
    IfcDerivedValue
    IfcEntity
    IfcFileHeader
    StepHeaderEntity
    StepIndex
    StepRows
    RowSpans
    ParseFrame
    FrameAxes
    ThreePointArc
    CreasedMesh
    MeshArrays
    HuffmanTable
    ZipEntry
    RefinedSurfaceMesh
    GuiTextElements
    Text3DOptions
    CameraFlightOptions

    Type Aliases

    IfcValue
    TypeSpelling
    Point3
    Vec3
    Point2
    Vec2

    Variables

    arcThroughThreePoints
    pointsOnArc
    PARALLEL_SINE
    isTriple
    isFrameShaped
    unitOf
    squareFrame
    WORLD_AXES
    vectorToWorld
    pointToWorld
    vectorToLocal
    pointToLocal
    composeAxes
    relativeAxes
    axesToMatrix
    MAX_CODE_BITS
    SYMBOL_SHIFT
    LENGTH_MASK
    BYTE_BITS
    REFILL_BELOW
    STORED_BLOCK
    FIXED_BLOCK
    DYNAMIC_BLOCK
    BLOCK_TYPE_BITS
    END_OF_BLOCK
    FIRST_LENGTH_SYMBOL
    LITERAL_LENGTH_SYMBOLS
    DISTANCE_SYMBOLS
    FIXED_LITERAL_BITS
    FIXED_LITERAL_ENDS
    FIXED_DISTANCE_BITS
    STORED_HEADER_BYTES
    UINT16_MASK
    HLIT_BITS
    HDIST_BITS
    HCLEN_BITS
    HLIT_BASE
    HDIST_BASE
    HCLEN_BASE
    CODE_LENGTH_BITS
    CODE_LENGTH_SYMBOLS
    REPEAT_PREVIOUS
    REPEAT_ZERO_SHORT
    REPEAT_PREVIOUS_BITS
    REPEAT_PREVIOUS_BASE
    REPEAT_ZERO_SHORT_BITS
    REPEAT_ZERO_SHORT_BASE
    REPEAT_ZERO_LONG_BITS
    REPEAT_ZERO_LONG_BASE
    INITIAL_OUTPUT
    CODE_LENGTH_ORDER
    LENGTH_BASE
    LENGTH_EXTRA
    DISTANCE_BASE
    DISTANCE_EXTRA
    STORED_LENGTH_BYTES
    RIGID_TOLERANCE
    LINEAR_COLUMN_STARTS
    isTransformMatrix
    followedBy
    linearDeterminant
    isRigidMatrix
    composed
    symmetricEigen
    signedVolumeOf
    creasedMesh
    ICOSAHEDRON_POINTS
    ICOSAHEDRON_FACES
    icosphere
    frustum
    expandedKnots
    knotDomain
    nurbsCurvePoint
    nurbsSurfacePoint
    pathTangents
    transportedAxes
    sweepMatrices
    roundedPath3
    signedArea2
    wound2
    isInsidePolygon2
    perimeter2
    roundedCorners2
    refinedSurfaceMesh
    add2
    subtract2
    scale2
    dot2
    cross2
    length2
    leftOf2
    unit2Of
    add3
    subtract3
    scale3
    dot3
    cross3
    length3
    CRC32_POLYNOMIAL
    CRC32_ALL_ONES
    BYTE_MASK
    BYTE_VALUES
    LOCAL_HEADER_SIGNATURE
    CENTRAL_HEADER_SIGNATURE
    END_OF_CENTRAL_SIGNATURE
    END_OF_CENTRAL_SIZE
    LONGEST_ARCHIVE_COMMENT
    ZIP64_COUNT
    ZIP64_SIZE
    END_ENTRY_COUNT
    END_DIRECTORY_SIZE
    END_DIRECTORY_OFFSET
    CENTRAL_FLAGS
    CENTRAL_METHOD
    CENTRAL_CRC32
    CENTRAL_COMPRESSED_SIZE
    CENTRAL_SIZE
    CENTRAL_NAME_LENGTH
    CENTRAL_EXTRA_LENGTH
    CENTRAL_COMMENT_LENGTH
    CENTRAL_LOCAL_OFFSET
    CENTRAL_HEADER_SIZE
    LOCAL_NAME_LENGTH
    LOCAL_EXTRA_LENGTH
    LOCAL_HEADER_SIZE
    ENCRYPTED_FLAG
    UTF8_NAME_FLAG
    STORED_METHOD
    DEFLATED_METHOD
    UINT16_BYTES
    UINT32_BYTES
    DEFAULT_CAMERA_EASE

    Functions

    initBabylonJS
    crc32
    huffmanTable
    inflateRaw
    computeVertexNormals
    newellNormal
    triangulateFace
    isZip
    zipEntries
    zipEntryData
    createEaseCurve