G-code Preview — API Reference
Guide
npm
GitHub
Preparing search index...
@chestnutlabs/gcode-bgcode
OpenedBgcode
Interface OpenedBgcode
interface
OpenedBgcode
{
id
:
"bgcode"
;
metadata
:
{
machine
?:
MachineGeometry
;
raw
:
Record
<
string
,
string
>
;
warnings
:
{
code
:
string
;
message
:
string
}
[]
;
}
;
plates
:
{
estimatedBytes
:
number
;
index
:
number
;
name
:
string
}
[]
;
thumbnails
:
BgcodeThumbnail
[]
;
openPlate
(
index
:
number
)
:
BgcodeStreamLike
;
}
Index
Properties
id
metadata
plates
thumbnails
Methods
open
Plate
Properties
id
id
:
"bgcode"
metadata
metadata
:
{
machine
?:
MachineGeometry
;
raw
:
Record
<
string
,
string
>
;
warnings
:
{
code
:
string
;
message
:
string
}
[]
;
}
plates
plates
:
{
estimatedBytes
:
number
;
index
:
number
;
name
:
string
}
[]
thumbnails
thumbnails
:
BgcodeThumbnail
[]
Thumbnails from the container (bgcode carries them as binary blocks, not G-code comments).
Methods
open
Plate
openPlate
(
index
:
number
)
:
BgcodeStreamLike
Parameters
index
:
number
Returns
BgcodeStreamLike
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
metadata
plates
thumbnails
Methods
open
Plate
Guide
npm
GitHub
G-code Preview — API Reference
Loading...
Thumbnails from the container (bgcode carries them as binary blocks, not G-code comments).