Skip to main content

Drawing sheets

A drawing sheet shows a 3D model the way a workshop reads it: views of the part lined up with each other at a standard scale, hidden edges dashed, sections with their cuts hatched, and a title block. CAD Cloud draws such sheets from a STEP file and writes them as PDF, DXF and SVG. It is one of the Pro algorithms that run only on CAD Cloud.

What goes in​

You send one STEP file (.step, .stp, or gzip-compressed .stpz) of at most 200 MB. Every placed part of the file is a part of the drawing, numbered from 0 in the order the file's structure gives them, up to 10,000 parts. A file whose header names the wrong unit is read right with fileUnit. Loose curves beside solids, such as the curves an AP203 file draws its notes with, are no part of a sheet of every part: they are left out and counted in the report's model.faceless.

What to draw is the plan. Every setting in it has a default, so a request with only stepFileId draws a default sheet: an A3 sheet in landscape, the part seen from its own front with the views that describe it (see Views) at the largest scale that fits, hidden edges dashed in all but the isometric view, and a title block with empty fields. It also gives the overall sizes, and on a sheet of one part the part's holes and, for a sheet-metal part, its flat pattern, which takes a sheet of its own (see Continuation sheets). A file in inches is drawn in inches (see Units). Positions and directions in a plan are in the model's space as a STEP file is read, Y up, in millimetres. The paper is measured in millimetres; the lengths the sheet prints are in the plan's units.

When the model's root product has no name, or only the name OCCT gives a product it writes (Open CASCADE STEP translator 7.9 1), CAD Cloud names it after the uploaded file without its extension, so the sheet of the whole model is titled as the file. A product below the root named only so counts as unnamed, Part n like any other.

The routes​

RouteWhat it does
POST /api/v1/cad/pro/drawing/drawDraws the sheets of the plan and writes them as PDF, DXF or SVG
POST /api/v1/cad/pro/drawing/inspectReads the model as a drawing would, without drawing: its parts and size, the plan with every setting spelled out, the layout it gives, the sections the model could be cut by, the views the file saved and every part by name

Both take the uploaded file as stepFileId, start a task and answer with its taskId. They need an API key with the cad scope. Inspect first when you write a plan by hand: the plan it returns is complete, so you change only what you want different and send it to the draw route.

A request​

This request draws two sheets of a bent bracket. The first is a default sheet; the second is an A4 sheet with the top view and the bracket's flat pattern, its bend lines, a bend table and its overall sizes. <your uploaded file> stands for the fileId the upload gave you.

{
"stepFileId": "<your uploaded file>",
"plan": {
"titleBlock": { "number": "BR-100" },
"sheets": [
{ "name": "BRACKET", "titleBlock": { "title": "BRACKET" } },
{
"name": "BRACKET, FLAT",
"views": [{ "name": "top" }],
"flat": true,
"dimensions": "auto",
"sheet": { "size": "A4" },
"titleBlock": { "title": "BRACKET, FLAT" }
}
]
},
"outputs": { "formats": ["pdf", "dxf", "svg"] }
}

The settings at the top of the plan are laid under every sheet, so both title blocks carry the number BR-100. Each sheet's titleBlock and sheet are laid over the plan's field by field, and a set of several sheets writes each sheet's number, 1 / 2 and 2 / 2, into its title block.

The sheet​

SettingWhat it doesDefault
sheet.sizeA0 to A4, ANSI-A to ANSI-E, or { "width": 600, "height": 400 } in millimetres, 50 to 5000 eachA3
sheet.orientationlandscape or portrait; a custom size lies as its width and height saylandscape
sheet.projectionfirst-angle or third-angle, and the projection symbol in the title block says whichfirst-angle on ISO and custom sheets, third-angle on ANSI sheets
sheet.scalefill, auto, or a fixed { "numerator": 1, "denominator": 5 } between 1:1000 and 100:1fill

fill takes the largest scale at which every view fits, from the scales ISO 5455 recommends and those GOST 2.302 adds (1:2.5, 1:4, 1:15, 1:25, 1:40, 1:75 and the like); auto keeps to the 1, 2 and 5 steps. When no step of the series lays the views out automatically, every step is tried as a fixed scale before the sheet is refused. A fixed scale that does not fit is refused, and the refusal names the largest scale that fits the sheet and the sheet that would hold the scale, each one it proved by laying the views out. The report's sheet.scaleSeries names the list the scale is a step of: ISO 5455, GOST 2.302 for a step ISO 5455 does not recommend, inch, or none for a scale the plan states that is in no series.

The frame. An ISO sheet's frame is drawn 0.7 mm wide, with four centring marks at the middles of its sides and a grid reference in the margin: fields of about 50 mm, numbered along the top and bottom and lettered down the sides, I and O left out, in 3.5 mm letters (ISO 5457). An ANSI C, D or E sheet is divided into zones in its margin, numbered from the right and lettered from the bottom, 4 by 4 zones on C, 4 by 8 on D and 8 by 8 on E (ASME Y14.1); ANSI A and B are not zoned. The report lists those letters and numbers among its texts with the role frame, and they stand outside the frame. On an ANSI sheet the lists are lettered at 3 mm and section letters at 6 mm, against 2.5 mm and 5 mm on ISO sheets.

Units​

SettingWhat it doesDefault
unitsmm or in: the unit every length the sheet prints is written inthe STEP file's own unit: in for a file in inches, mm for any other
decimalsThe places a printed length is written to: 0 to 4 in millimetres, 1 to 4 in inches2 in millimetres, 3 in inches

In millimetres decimals is the most places a length takes, idle zeros and the point dropped: 12.5, 12. In inches it is exactly that many places, with no zero before the point: .250, 1.500. The unit covers every printed length: the overall sizes, ordinates (0 in millimetres, .000 in inches), diameters, radius callouts, the hole table, the bend table's radius, the flat pattern's sizes and a custom sheet's size in the title block, whose UNITS cell says MM or IN. Angles stay in degrees. In inches an automatic scale comes from the inch series: auto keeps to 1:2, 1:4, 1:8, 1:10, 1:20, 1:30 and the like, and fill adds 1:12, 1:16, 1:24 and a few more between them.

A plan that names no units is drawn in the STEP file's unit: a file in inches, by its header or by fileUnit, is drawn as "units": "in", any other in millimetres. The resolved plan always states units and decimals, so a plan sent back keeps its unit. A plan that names no unit and 0 places is refused once the file proves to be in inches. Like any setting, units and decimals at the top of a plan are laid under every sheet, and a sheet may state its own.

The paper itself, the plan's positions and lengths, and every number of the report stay in millimetres.

Views​

views lists up to 12 views. The first is the base view, and the others are lined up with it the way their names say. A view is one of:

  • { "name": "top" }: front, top, bottom, left, right, back or isometric. The names turn with the plan's front (see below);
  • { "frame": { "origin": [0, 0, 0], "normal": [0, 0, 1], "direction": [1, 0, 0] } }: a view by its own frame. The eye is on the normal's side looking back along it, and direction runs to the right. A frame that looks the way a named view does, the same normal and direction, is lined up like that view;
  • { "saved": "MBD_A" }: a view the STEP file saved (an AP242 model view), by its name. A name the file does not hold refuses the sheet; the inspection lists the names the file holds.

Each view may also say whether hidden edges are drawn (hiddenLines), whether edges where faces meet without a crease, such as the ends of a fillet, are drawn as thin lines (smoothEdges, on by default), give a caption, or take a scale of its own, which places it freely instead of in line with the others. parts draws only the parts it lists by number.

Views a plan states are kept as stated. Left out, a sheet the plan or a rule makes gets the views that describe its part:

The partIts views
A plate, whose thickness is at most 0.15 of its middle sideIts front and one edge view, the top
A turned part, four fifths of whose face area turns about one axisIts side view and its end view, front and right
Any other partFront, top and right, or the left in place of the right when the views then fit at a larger scale

Each gets the isometric too, which may take a smaller scale of its own, down to a quarter of the sheet's. A sheet of a list that states no views gets front, top, right and isometric. With a flat pattern, views may be empty: the sheet is the flat pattern alone.

The front. front is a frame, { "normal": [0, 0, 1], "direction": [1, 0, 0] }: front looks along it and the other names turn with it. Left out, each sheet the plan or a rule makes is drawn from its part's own front, square to the part's own faces (the space's axes when the part is square to them): a plate looks along its thickness, a turned part across its axis, and any other part along the axis it shows most of, with its long side across. A part is never drawn tilted by a few degrees. The resolved plan writes that front into the sheet. A sheet of a list keeps the plan's front, or the space's axes, unless it says turned. "front": "annotations" asks instead for the front most of the sheet's drawn annotations read upright from; annotations never choose or tilt a front otherwise.

lines.method decides how hidden edges are found. auto, the default, keeps the exact method to a budget: it draws the sheet exactly when the exact method is predicted to take 10 s or less for all its views together on a native build of the kernel, about 12 s on CAD Cloud, and by sight otherwise. The prediction weighs the faces by what they cost the exact method: a freeform face (a B-spline or Bezier surface, an offset of one, or a surface turned from a B-spline or Bezier curve) weighs as 160 plain faces, more when its normals turn round more than once, as on a coil spring, and a torus up to as much as a freeform face. On a sheet over the budget a view is drawn by sight even when a few faces cannot be meshed; they hide nothing, and a warning says so. exact works from the geometry alone; sight draws the model's own edges and decides what is hidden from a picture of its mesh, seconds where exact takes minutes on a large assembly; mesh draws the edges of a tessellation.

Each sheet's report says under run which method drew each view (methods) and what chose it (chosenBy): plan when the plan named the method, budget when auto went by sight because the exact method was predicted to pass the budget, and within when it stayed exact. Whenever a view was drawn by sight, run.exactEstimate gives the seconds the exact method was predicted to take on CAD Cloud, for each view (views) and for the sheet (sheet): the kernel predicts the seconds of a native build, and CAD Cloud's kernel was measured to take 1.2 times as long, so the prediction is given times 1.2. It is an order of magnitude, not a promise: a single model may take from a tenth to several times it. To have the exact lines anyway, draw the sheet again with "lines": { "method": "exact" }.

Continuation sheets​

A sheet whose plan states no views, made by the plan or a rule, keeps its principal views together at one scale, and a view that would make them unreadable goes to a sheet of its own:

  • when the principal views' annotation letters would be under 2.5 mm together, each principal view whose letters would reach that on a sheet of its own gets one, the front always staying; while the views that stay are still under it, the view whose leaving lets the others take the largest scale leaves too, and a view that gains nothing stays;
  • the isometric, each view added for annotations and the flat pattern are tried beside the principal views at their scale, then at smaller scales down to a quarter of it; a view that fits at none of them goes to a continuation sheet, and the flat pattern always has one of its own.

A continuation sheet follows the sheet it continues, is named <name> - continued, and carries the base sheet's settings, without hole tags, a hole table, sections or balloons. Its pagination in the set says why it exists, such as the isometric does not fit beside the principal views at 1:5 at any scale down to 1:20. Every annotation is drawn once in the set, on the sheet whose view faces it. Views a plan states, and the sheets of a list, are never split, and a sheet that breaks a floor all the same says so in its report (see How a sheet reads).

Two more things go to continuation sheets:

  • callouts and balloons the first sheet has no room for. Hole tags, balloons and radius callouts that find no place beside their view are left out there and drawn on a sheet that repeats the view alone, captioned FRONT VIEW (CONTINUED) or the like, each leading to the point it marks;
  • general notes the notes area cannot hold. When the notes above the title block would not fit at 1.8 mm or more, all of them move to a sheet of the notes alone, laid over its whole frame, with views: [].

The pages of one sheet share what they decide together, and the resolved set writes it into each page's plan as shared:

KeyWhat it holds
shared.viewsThe views of all the pages, in order. The overall sizes, diameters and radius callouts are decided over them as one sheet of every view would give them, and each page draws those that fall on its own views, so no size is given twice
shared.marksThe callouts and balloons this page carries for another: each a view of this page, its text as callout or balloon, the point at that it marks in the model's space, and for a radius callout its arc's centre, so it is led along the radius as on its first sheet
shared.elsewhereThe callouts and balloons of this page's view that another page carries: left out here without a warning
shared.notestrue on the sheet of the notes alone, whose views is then empty

shared is there so that a resolved set, sent back as it is, draws the same sheets: the request schema takes it as the kernel writes it, and the inspect route reads such a set back to itself. A plan seldom needs to write it by hand. It is refused on a parts list or a hole table alone, a sheet of shared notes takes no views, and each mark is a callout or a balloon, never both.

Sections​

sections lists up to 6 sections. Each has a label, one or two capital letters or digits, and a frame: the cutting plane is the frame's plane, what lies on the normal's side is cut away, and the rest is seen from there, captioned A-A on an ISO sheet (ISO 128-40) and SECTION A-A on an ANSI one. shownOn, the index of a view, carries the cutting-plane line, view 0 when left out. The cut is hatched with ansi31 lines at 45 degrees, 3 mm apart, unless hatch says otherwise: false for none, or a pattern (ansi31, ansi32, ansi37 or solid), an angle and a spacing. A part is hatched alike in every section, and parts that touch take different hatches, so two parts that touch read apart.

No section is chosen for you: the inspect route proposes candidates, each with its frame, and adding one's frame to sections draws it.

The title block and the tables​

titleBlock takes title, number, material, revision, date, drawnBy, checkedBy, approvedBy, documentType, company, finish, up to 6 custom fields of your own, and in a set sheet and quantity. Every field is empty unless given; the date never defaults to today, so the same plan draws the same sheet on any day. approvedBy and documentType (such as Assembly drawing or Detail drawing) are two of the fields ISO 7200 makes mandatory, the third being who drew it: given, each takes a row of its own, APPROVED BY and DOCUMENT TYPE, and the resolved plan writes them back; left out, the block is as before. titleBlock: false leaves the block out. revisions adds a revision table of up to 12 rows of mark, description, date and by.

What else a sheet can carry, each off unless the plan asks for it. A plan without sheets, like a sheet a rule makes, is the exception: where it leaves them out, it gets dimensions: "auto", and on a sheet of one part holes and flat "auto" too; false leaves one out.

SettingWhat it draws
dimensions: "auto"The base view's width and height and the one size each top, bottom, left or right view of it adds; on a sheet of one part, also every distinct outside diameter and every distinct radius of a round, once each
dimensions: "ordinate"The same, except that the base view is measured by ordinates from the lower left corner of the part's box to each hole centre it sees end-on and to the far sides
holes: "auto"The holes (through, blind, counterbored, countersunk) recognised, their centre marks and lines drawn, those the base view sees end-on tagged and listed in a hole table
flat: true or "auto"On a sheet of one part, the part's flat pattern as a view of its own, with its bend lines and a bend table; auto draws it only when the part unfolds cleanly with a bend that folds, and a part whose unfold is not clean, such as a casting, gets none and a warning says why
annotations: trueOn a sheet of every part, the dimensions, tolerances, datums and notes the STEP file stores (AP242), each on a view that faces the plane it was made in, views added for planes none of the plan's views faces
partsList and balloonsA parts list above the title block, and balloons with leaders to the parts it names

Holes and radii. A hole is written with the diameter sign: ⌀25, ⌀25 THRU, ⌀25 CBORE ⌀40 X 10 DEEP, ⌀25 CSK ⌀40 X 90°, a blind hole's depth as 10 DEEP, and FAR SIDE after a hole that opens on the face turned away from the viewer (ASME Y14.5). The hole table measures X and Y from the model's corner nearest the lower left of its box in that view, marked on the view by an X0 Y0 callout, so a coordinate left of or below it is negative. Tags take a letter for each distinct size and depth and skip every letter the file's datums are named by; where the file's datums carry no readable name, the tags take a dash, A-1, so they cannot be read as datum targets. A radius callout runs along the arc's radius to a short shoulder with its text beside it, R5 or 4X R5 (ASME Y14.5 1.7.4), and a balloon's leader ends in a filled dot on the part.

annotations may also be an object. product and instance draw one product's annotations, where that instance stands, whatever parts the sheet shows; without a product the object means the whole model's annotations, as true does. addViews: false adds no view for annotations none of the plan's views faces, and notes: false leaves the general notes out: another sheet of the set draws them, and the report counts them in annotations.elsewhere instead of warning. A set's continuation sheets are written so.

Sets of sheets​

plan.sheets makes a set, in one of two ways:

  • a list: up to 500 sheets, each stating only what it changes of the plan, as in the request above. A sheet that states only parts is drawn with everything else as the plan says;
  • a rule that makes the list from the file's product structure, each product once with its instances counted as its quantity: { "auto": "structure" } gives the whole model, then each assembly and part in the order of the structure; "parts" the whole model, then every distinct part; "assemblies" the whole model and every assembly. most is the most sheets the rule may make: a model that would take more is refused, with how many it would take. depth is how many levels of assemblies are opened. turned, true when left out, draws every sheet the rule makes, the whole model's included, from its own part's front; false keeps them all on the plan's front.

A rule draws the plan's sections on its overview sheet alone, and every sheet it makes draws a product of the model, so a plan with a rule takes no balloons around a section and no parts list or hole table alone.

With partsList: true at the top of the plan, every assembly's sheet lists what goes directly into it (item, name, quantity and the sheet it is drawn on), with balloons pointing at the parts when the list has at most 40 rows, and a list too long for its sheet takes sheets of its own after it. A plan that is a hole table alone does not take partsList: true: the table's sheet would be the assembly's, and a hole table alone takes no parts list.

Each row a set writes names its product. Drawn or resolved again, such a row's sheet is where that product's first sheet now stands, or empty when no sheet shows it, so a written set whose sheets were moved or removed is put right by drawing it again. A row without a product is kept as given.

A request body takes at most 128 KB. A set written out past that, of a model with hundreds of sheets, is uploaded as a JSON file of at most 32 MB and named by planFileId in place of plan, or sent as its rule.

Drawing again​

Chosen sheets. onlySheets, beside plan in the draw body, names the sheets of the set to draw, by their index in it counting from 0, as the inspection's set and a drawn set's report list them. This request draws the third sheet of a set written out and uploaded as a plan file:

{
"stepFileId": "<your uploaded file>",
"planFileId": "<your uploaded plan>",
"onlySheets": [2]
}

Each sheet named is drawn as it is in the whole set: it is the sheet the whole set draws, its title block numbers it among all of them, 3 / 5, and its DXF and SVG are written as the whole set's are, in the unit of the set's first sheet, so a sheet in inches of a set that starts with a sheet in millimetres is written in millimetres either way. The files hold only the sheets named, in the set's order, laid out as a set of their own, so one sheet is one PDF page. Each sheet of the report gives its index in the set, and the report and the task's metadata give setSheets, how many sheets the whole set has; a draw without onlySheets gives neither. The list names at least one sheet and each sheet once, and a sheet past the set's last fails the task, saying how many sheets the plan makes. Only the draw route takes it.

The model, read once. Reading a STEP file is most of what an inspection or a small set takes, and on a large assembly a large share of any drawing. Every draw and every inspection keeps the model it drew from with the task itself, up to 200 MB, and its report's run.model.kept says so; when the model could not be kept, kept is false and run.model.notKept says why, and the task's files are not affected. The model is stored beside the upload of the task's files, so keeping it adds no wait to a drawing's files. A later draw or inspection of the same uploaded file, in the same fileUnit, names that task in modelFromTask and takes the model from there instead of reading the file again:

{
"stepFileId": "<your uploaded file>",
"plan": { "annotations": true },
"modelFromTask": "<the task that inspected the file>"
}

The sheets are the same, byte for byte, as those of a draw that read the file. The task named must be your account's, completed and not expired, must have read the same stored file, with the same checksum, in the same unit, must have been started with an API key of the same storage as this request's (CAD Cloud's own, or the same bucket of your own), and must have kept its model; one that does not is refused before anything is queued, saying why: a task of another account with 403, a task that does not exist with 404, and any other reason with 409. Each of these refusals, and the 400 of an id that is no task's, names the field in the error's details, { "field": "modelFromTask" }, so an app can tell it from any other refusal, drop modelFromTask and send the request again. A kept model is deleted with the task's results when the task expires, so a task whose results you can still download is one you can name. Should the kept model turn out unusable once the task runs, or the storage it is in not answer, the file is read instead and the report's run.model.notReused says why; the sheets are the same either way. CAD Cloud's server keeps a model only for its own build: after a new release of the server, a task names an earlier model in vain, reads its file again and says so in notReused. A task that took its model from another keeps it again as its own, so the latest task of a file is always one you can name.

Fingerprints, to keep drawn sheets. Every sheet of a drawing's report, and every sheet of an inspection's set, carries a fingerprint: a SHA-256 over all the sheet is drawn from, which is the file's checksum and the unit it is read in, how its parts are read, the sheet's plan as the drawing kernel takes it, the file's annotations it is drawn with, the build of the drawing kernel and the build of the CAD Cloud server that reads the file and writes the sheet's files. Drawing is deterministic, so a sheet drawn again with the same fingerprint is written byte for byte the same in its files, and its report is the same but for run, which says how long it took. A new release of the server gives every sheet a new fingerprint. An app can keep the sheets it drew under their fingerprints, and a sheet whose fingerprint changed is stale.

  • The inspection of a plan gives the fingerprints its sheets will have, and the set it writes out draws with the same ones. A draw of chosen sheets gives the fingerprint of every sheet of the whole set as setFingerprints, beside those of the sheets it drew.
  • With the fingerprints of a plan in hand, ask with onlySheets for the sheets you do not hold, and take the others from what you kept.
  • CAD Cloud keeps no sheet for you: what to keep, and for how long, is your app's to choose.

In the Studio. The drawing page does this in your browser. It keeps the sheets it drew in the browser's own storage for 30 days, at most 200 MB of them, the least recently used dropped first, each as an SVG of that sheet alone. When you draw a set whose fingerprints it knows, from the inspection that wrote it out, from the last drawing of the same plan or from a drawing opened from its address, it takes the sheets it holds and asks CAD Cloud only for the others. A note says which sheets came from the browser and which were drawn now, and a sheet from the browser says so where a drawn sheet shows its times. The files to download are offered only when the drawing they came from is this very set, by its fingerprints; otherwise the note says no files were made for it and "Draw every sheet" draws all of them again for files. The fingerprints the page knows last only as long as the page: after a reload it asks CAD Cloud again. Each draw and inspection names the task that kept the file's model, and the page stops naming it once CAD Cloud refuses it or a report says it could not be used. With the browser's storage blocked, cleared, slow to answer or holding something it cannot read, the page simply draws every sheet.

Inspect​

The inspect route's metadata result is the inspection:

  • model: how many parts the file holds, how many are drawn and how many were left out for holding no face (faceless), and the model's box;
  • plan: the first sheet's plan with every setting spelled out;
  • layout: whether its views fit the sheet and where they lie, or why they do not;
  • alternatives.sheets: for each standard sheet of the plan's kind, ISO or ANSI, whether the views fit and the scale an automatic scale would take on it, from the series of the plan's units;
  • alternatives.front: the model's own front, as a frame to give front, the front a sheet is drawn from when it states none;
  • sectionCandidates: sections the model could be cut by, each with its frame, the view that sees it edge-on, how many parts it cuts and the area cut;
  • savedViews: the views the STEP file saved that a plan can name, each by its name with how many of the file's annotations it shows, ready to give a view as { "saved": name }. A drawing reads the first 5,000 views that have a direction and an up, and finds a name at the first of them whose direction and up are not along each other; a warning says how many views the file saved past those;
  • parts: every part by its number, as parts names it, with the product the set draws it as: that product's name as the sheets of a set give it (Part n for a part the file left unnamed, or named only as OCCT names a product it writes), the product's number and which of the product's instances the part is in. An unnamed product that holds a single part is drawn as the product that places it, so the one part of NIST's CTC 01, an unnamed product below the file's named one, is listed as NIST Complex Test Case 1, as its sheets are titled. A part the set draws under no product, such as the loose curves an AP203 file writes its notes with beside solids, has an empty name and neither product nor instance;
  • set: every sheet of the plan written out, each with the fingerprint it will have when drawn, the set as a plan with a list of sheets, and parts, the kernel's own list behind the inspection's. Sent to the draw route, that plan draws the same sheets;
  • run.model: where the model came from and whether the inspection kept it, so a draw of the file can name it in modelFromTask, with notKept saying why when it could not.

Outputs​

FormatWhat you get
pdfOne page for each sheet, each the size of its sheet in millimetres, the default
dxfEvery sheet side by side in rows as near square as their count allows, in millimetres, or in inches when the first sheet is drawn in inches: lines on the layers the report names, hidden lines dashed, centre lines chained, texts as TEXT entities and the cuts as HATCH entities
svgThe same drawing as an SVG file, in the same unit as the DXF

The DXF and SVG of a set are written in the unit of its first sheet. In inches the DXF states it in its header ($INSUNITS 1, $MEASUREMENT 0), so its hatch patterns scale against the inch patterns of acad.pat, its line types are dashed in inches and its line weights stay as drawn; the SVG gives its width and height in inches and every number inside it in inches. The PDF is always the paper's millimetres. A set whose sheets mix units is written in the first one's: the paper is the same, and each sheet still prints the lengths in its own unit.

The same file and plan give the same sheets, byte for byte, in every format. A format that cannot be written is left out while every other is still written, and the task's metadata says why under outputsLeftOut.

How a sheet reads​

Each sheet is measured on paper as it is drawn, and its report's quality says how it reads:

FloorHeld to
The sheet's own text: sizes, captions, balloons and notes2.5 mm on A4, A3 and a custom sheet up to 420 mm long, 3.5 mm on larger sheets, 3 mm on every ANSI size; never broken
The letters of the file's annotationsAt least 2.5 mm on paper (3 mm on ANSI sheets), and never under 1.8 mm
The general notes above the title blockThe standard letters, 2.5 mm (3 mm on ANSI sheets), and never under 1.8 mm: in a set, notes the area cannot hold at 1.8 mm move to a sheet of their own
A view's ink, the share of its box its lines coverAt most a quarter

A view denser than that is drawn with the thinner line group, 0.35 and 0.18 mm in place of 0.5 and 0.25; still too dense, without its smooth edges, then without edges too short to read. Its entry in quality.views says what was done: letters, density as drawn, plain at the standard lines, lines (the thick and thin widths), smoothLeftOut and detailLeftOut. quality also holds the sheet's scale, its textHeight, its smallest annotation letters (0 for none) and fill, the share of the frame the views take.

A setting the plan states is kept even where it costs readability. quality.floors names each floor the sheet still breaks: the floor (letters, density, or notes for general notes drawn under the standard letters, whose view is -1), the view, its value and the limit it is held to, and the reason: constraint with the setting that keeps it so (sheet.scale, views[n].scale, views when the view alone on the sheet would reach the floor, or annotations.notes for the notes), or scale when no scale of the series reaches it on this sheet size. The plan's paper size is never changed for it.

The drawing report​

The draw route's metadata result is the report:

  • plan: the set as a plan with every sheet written out; sent back, it draws the same sheets;
  • extent: the width and height of the DXF and SVG that hold every sheet;
  • sheets: each sheet's name, its place in the DXF and SVG, its pagination when it continues another, its index in the set when the draw named onlySheets, its fingerprint, and its own report: the sheet, the unit and places its lengths are printed in (sheet.units, sheet.decimals), the scale used and the series it is a step of (sheet.scaleSeries), every view and section with its place on the sheet and whether it is lined up with the base view, the groups of lines with their layers, line types and weights, the texts (the frame's grid letters and zones with the role frame), the hatches, the tables, the dimensions (each with its kind: across, upright, radius, origin for the hole table's X0 Y0 mark, ordinateX or ordinateY, its text, its line and, for a radius callout or the origin mark, the centre it is led from), holes and flat pattern when the plan asked for them, what became of the file's annotations (annotations, with elsewhere), how the sheet reads (quality) and how it was drawn (run, with methods, chosenBy and exactEstimate);
  • warnings: what could not be drawn as asked, such as a table too long for its sheet, a balloon with no part to point at, or a letter the font has no glyph for, each naming its sheet when there are several;
  • run: how long the set took and each sheet of it, and under model where the model came from (see Drawing again): reused, kept, the seconds it took to have it, notReused when the model modelFromTask named could not be used, and notKept when the model could not be kept;
  • setSheets and setFingerprints: how many sheets the whole set has and the fingerprint of each, when the draw named onlySheets.

The task's own metadata sums what the sheets report: floors, the floors of readability they break; continued, the continuation sheets the set made; and exactEstimate, the seconds the exact method was predicted to take on CAD Cloud for the sheets drawn by sight. Each is there only when a sheet reports it. It also gives run, the report's, and setSheets when the draw named onlySheets.

Limits​

WhatAt most
The STEP file200 MB, 10,000 parts
Views on a sheet12
Sections on a sheet6
Sheets in a set500
A text of the title block120 characters; its sheet and quantity 24
Places of a printed length4; at least 1 in inches
Shared views, marks and left-out marks of a page12 views; 500 marks each
The request body128 KB; a plan file 32 MB

Every request option is in the API reference.