bitbybit.dev v1.0.0
    Preparing search index...

    Class Text3D

    Index

    Constructors

    • Parameters

      • occWorkerManager: OCCTWorkerManager
      • context: Context
      • draw: Bit.Draw

      Returns Bit.Text3D

    create

    • Creates a 3d text with a font URL This is useful when you want to use a custom font that is not included in the library. The font will be loaded from the provided URL and used to generate the 3d text. Make sure that fonts do not contain self intersection and other bad characters - that is common issue with custom fonts. Font formats supported are: ttf, otf, woff. Please note that Woff2 is not supported by opentype.js as it is a compressed format.

      Parameters

      Returns Promise<Text3DData<TopoDSShapePointer>>

      3d text

      create 3d text with url

      true

    • Creates a 3d text on the face using a font URL. This is useful when you want to use a custom font that is not included in the library. The font will be loaded from the provided URL and used to generate the 3d text. Make sure that fonts do not contain self intersection and other bad characters - that is common issue with custom fonts. Font formats supported are: ttf, otf, woff. Please note that Woff2 is not supported by opentype.js as it is a compressed format.

      Returns Promise<Text3DData<TopoDSShapePointer>>

      3d text

      create 3d text on face url

      true

    • Creates 3d texts on the face from multiple url definitions This is useful when you want to use a custom font that is not included in the library. The font will be loaded from the provided URL and used to generate the 3d text. Make sure that fonts do not contain self intersection and other bad characters - that is common issue with custom fonts. Font formats supported are: ttf, otf, woff. Please note that Woff2 is not supported by opentype.js as it is a compressed format.

      Returns Promise<Text3DData<TopoDSShapePointer>>

      3d text

      create 3d texts on face url

      true

    definitions

    • Creates 3d text that will be used on the face url defintion This is useful when you want to use a custom font that is not included in the library. The font will be loaded from the provided URL and used to generate the 3d text. Make sure that fonts do not contain self intersection and other bad characters - that is common issue with custom fonts. Font formats supported are: ttf, otf, woff. Please note that Woff2 is not supported by opentype.js as it is a compressed format.

      Parameters

      Returns Text3DFaceDefinitionUrlDto

      definition

      3d text face url def

      false

    dimensions

    get

    get from face