Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The mak command translates data of one form into another form. This command has options for transformation or manipulation of data sets to meet the needs for advanced scripting.

Command contents

mak - Make datasets#Make bands between vertical pillars - mak bandsca
mak - Make datasets#Make data from cells - mak cel
mak - Make datasets#Make cell scalars - mak ces
mak - Make datasets#Make cell from equal z coordinate - mak czc
mak - Make datasets#Make circle - mak cir
mak - Make datasets#Clean Clean up polydata - mak cle
mak - Make datasets#Make compass rose in graphical window - mak com
Make closed polygon type data sets - mak cpl
Make a new copy of active data set - mak csd
mak - Make datasets#Make accumulated distances - mak dis
mak - Make datasets#Make field data - mak fd
mak - Make datasets#Make free data - mak fre
mak - Make datasets#Make grid from polygrid - mak g
Reverse the sequence in the data set - mak gcrev
mak - Make datasets#Get Get largest cell in polydata - mak glc
mak - Make datasets#Get Get point value from data - mak gpv
mak - Make datasets#Make xy histogram from active data - mak his
mak - Make datasets#Insert Insert cells by distance test - mak ins
mak - Make datasets#Make local origo actions - mak lco
mak - Make datasets#Make a polydata set of line normals - mak lno
Transform the data set into a single line of points - mak lin
mak - Make datasets#Make line projection - mak lip
mak - Make datasets#Mirror Mirror the data - mak mir
mak - Make datasets#Make normals - mak nor
mak - Make datasets#Make new scalar cell values - mak nsc
mak - Make datasets#Make new celltype - mak nce
mak - Make datasets#Make polydata from structured point grid - mak p
mak - Make datasets#Make polygon from cells - mak pfc
Transform a data set into a point data set - mak poi
mak - Make datasets#Make polygon cells - mak pol
mak - Make datasets#Make profile - mak pro
Make the point set to scalar data - mak psc
mak - Make datasets#Make random points - mak ran
mak - Make datasets#Make random scalars on polydata - mak ras
mak - Make datasets#Remove Remove points and cells - mak rem
mak - Make datasets#Remove Remove lines of three points and equal z - mak remeq
mak - Make datasets#Remove Remove undefined - mak reu
Reverse the data set - mak rev
mak - Make datasets#Make rods - mak rod
mak - Make datasets#Replace Replace scalar data - mak rsc
mak - Make datasets#Reverse Reverse cell ordering or normals direction - mak rve
mak - Make datasets#Make scalar data from z values - mak sca

mak - Make datasets#Make sequence numbers in data set - mak seqmak -

Make datasets#Make shaded areas - mak sha
mak - Make datasets#Make sorted and connected polyline - mak sortpl
mak - Make datasets#Make scalar data to points - mak spo
mak - Make datasets#Make structured points to polydata triangles - mak spts
mak - Make datasets#Make a single point - mak spt
mak - Make datasets#Set Set value for point - mak spv
mak - Make datasets#Make triangle strips - mak strips
mak - Make datasets#Make tangent map in the scalar values - mak tan
mak - Make datasets#Make texture coordinates - mak tex
mak - Make datasets#Make triangles between active data and data in workspace - mak tri
mak - Make datasets#Make triangle strips between active data and data in workspace - mak tris
mak - Make datasets#Transfer Transfer a 3d cube of structured points into an unstructured grid - mak uns
mak - Make datasets#Make vectors to the cell data - mak vec
mak - Make datasets#Make vector array to point array - mak vpo
mak - Make datasets#Make a 3d grid from all layers - mak 3dg

Make bands between vertical pillars

...

Make data from cells

Anchor
mak-cel
mak-cel

Anchor
Make-data-from-cells
Make-data-from-cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak cel number | dis | rep | sel frequency | add value first | last | gen number | [outline] | sim | cur

...

Tip: Single points may be removed by mak rem poi 1 . If the purpose is to remove all line connections, ending up with single points the command mak poi should be considered.

dis two

...

Make cell scalars

Anchor
mak-sca
mak-sca

Anchor
Make-cell-scalars
Make-cell-scalars

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ces

...

Make cell from equal z coordinate

Anchor
mak-czc
mak-czc

Anchor
Make-cell-from-equal-z-coordinate
Make-cell-from-equal-z-coordinate

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak czc

To create cells in a polydata set where there are no or few cells, but where the z values of the points are of equal values until it shifts to another value. The polydata will be split into cells where the z value shifts. Example: To be used for a saved contour data set all in one cell that has to be splitted into cells.

Make circle

Anchor
mak-cir
mak-cir

Anchor
Make-circle
Make-circle

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak cir radius [pos x y z | cur] [start start_value] [stop stop_value] [inc increment] [nclo]

...

Clean up polydata

Anchor
mak-cle
mak-cle

Anchor
Clean-up-polydata
Clean-up-polydata

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak cle

...

Make compass rose in graphical window

Anchor
mak-com
mak-com

Anchor
Make-compass-rose-in-graphical-window
Make-compass-rose-in-graphical-window

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak com [off]

...

Make closed polygon type data sets

Anchor
mak-clo
mak-clo

Anchor
Make-closed-polygon-type-datasets
Make-closed-polygon-type-datasets

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak clo | cpl | cpr

...

Make accumulated distances

Anchor
mak-dis
mak-dis

Anchor
Make-accumulated-distances
Make-accumulated-distances

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak dis [start_value stop_value]

...

Make a new copy of active data set

Anchor
mak-csd
mak-csd

Anchor
Make-a-new-copy-of-active-dataset
Make-a-new-copy-of-active-dataset

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak csd

Make a new copy of active data set and remove all references to any other data set in workspace.

Make field data

Anchor
mak-fd
mak-fd

Anchor
Make-field-data
Make-field-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak fd [fsca] field_dataname [rem]

...

Rename field data from old_name to new_name.

Make free data

Anchor
mak-fre
mak-fre

Anchor
Make-free-data
Make-free-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak fre x | y [gridline] | [sel number]

...

Make grid from polygrid

Anchor
mak-g
mak-g

Anchor
Make-grid-from-polygrid
Make-grid-from-polygrid

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak g [rows columns]

Make structured points grid within grid window from polysampled grid; i.e. the opposite of mak p. Sometimes it is necessary to enter rows and columns in the grid (i.e number of elements in the rows and columns) when these values may have been lost due to influence by similar values in a another grid or cube.

Reverse the sequence in the data set

Anchor
mak-gcrev
mak-gcrev

Anchor
Reverse-the-sequence-in-the-dataset
Reverse-the-sequence-in-the-dataset

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak gcrev

...

Get largest cell in poly data

Anchor
mak-glc
mak-glc

Anchor
Get-largest-cell-in poldata-poly-data
Get-largest-cell-in poldata-poly-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak glc

...

Get point value from data

Anchor
mak-gpv
mak-gpv

Anchor
Get-point-value-from-data
Get-point-value-from-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak gpv number

...

Make xy histogram from active data

Anchor
mak-his
mak-his

Anchor
Make-xy-histogram-from-active-data
Make-xy-histogram-from-active-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak his [number] [x | y | z | s] [fac] [add] [val] [nor]

...

Insert cells by distance test

Anchor
mak-ins
mak-ins

Anchor
Insert-cells-by-distance-test
Insert-cells-by-distance-test

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ins [acc] distance

Default : only the distances between points are tested and a cell is inserted when points have greater separation than distance. 
acc will insert a new cell when the sum of distances of the points is greater than distance.

Make local origo actions

Anchor
mak-lco
mak-lco

mak lco
Anchor
mak lco
Anchor
Make-local-origo-actions
Make-local-origo-actions

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lco min | chk | off | sav | ret | x y z

...

Set local origo for active data to x y z.

Mirror the data

Anchor
mak-mir
mak-mir

Anchor
Mirror-the-data
Mirror-the-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak mir x | y | z

Mirror the data according to (for x) : x = xmax + xmin - x

Make normals

Anchor
mak-nor
mak-nor

Anchor
Make-normals
Make-normals

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak nor

...

Make new scalar cell values

Anchor
mak-nsc
mak-nsc

Anchor
Make-new-scalar-cell-values
Make-new-scalar-cell-values

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak nsc cel add | sub | mul | div | fix value
mak nsc cel sin | cos | tan | atan | exp | log | abs | pow | sqr | min | max

...

Make new celltype

Anchor
mak-nce
mak-nce

Anchor
Make-new-celltype
Make-new-celltype

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak nce celltype

...

Make a polydata set of line normals

Anchor
mak-lno
mak-lno

Anchor
Make-a-polydata-set-of-line-normals
Make-a-polydata-set-of-line-normals

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lno [sel selection] lengthfactor

...

Transform the data set into a single line of points

Anchor
mak-lin
mak-lin

Anchor
Transform-the-dataset-into-a-single-line-of-points
Transform-the-dataset-into-a-single-line-of-points

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lin [dgp | dis | pnr | seg | spnr | fpnr | sel | rep | grid]

...

Make line projection

Anchor
mak-lip
mak-lip

Anchor
Make-line-projection
Make-line-projection

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak lip [x | y]

...

Make polydata from structured point grid

Anchor
mak-p
mak-p

Anchor
Make-polydata-from-structured-point-grid
Make-polydata-from-structured-point-grid

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak p [nochk]

...

Make polygon from cells

Anchor
mak-pfc
mak-pfc

Anchor
Make-polygon-from-cells
Make-polygon-from-cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak pfc

...

Transform a data  set into a point data set

Anchor
mak-poi
mak-poi

Anchor
Transform-a-dataset-into-a-point-dataset
Transform-a-dataset-into-a-point-dataset

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak poi [sel] [sic]

...

Make polygon cells

Anchor
mak-pol
mak-pol

Anchor
Make-polygon-cells
Make-polygon-cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak pol

Make polygon line type from cells.

Make profile

Anchor
mak-pro
mak-pro

Anchor
Make-profile
Make-profile

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak pro workspacename | ssf

...

Make the point set to scalar data

Anchor
mak-psc
mak-psc

Anchor
Make-the-pointset-to-scalar-data
Make-the-pointset-to-scalar-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak psc

...

Make random scalars on polydata

Anchor
mak-ras
mak-ras

Anchor
Make-random-scalars-on-polydata
Make-random-scalars-on-polydata

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak ras [cel]

...

Remove points and cells

Anchor
mak-rem
mak-rem

Anchor
Remove-points-and-cells
Remove-points-and-cells

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rem [lt | gt] value [poi]

...

Remove cells by cell type

Anchor
mak-rem-typ
mak-rem-typ

Anchor
Remove-by-cell-type
Remove-by-cell-type

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rem typ [celltype]

...

Remove lines of three points and equal z

Anchor
mak-remeq
mak-remeq

Anchor
Remove-lines-of-three-points-and-equal-z
Remove-lines-of-three-points-and-equal-z

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak remeq

...

Remove undefined

Anchor
mak-reu
mak-reu

Anchor
Remove-undefined
Remove-undefined

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak reu

...

Reverse the data set

Anchor
mak-rev
mak-rev

Anchor
Reverse-the-dataset
Reverse-the-dataset

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rev [cellnr]

Reverse the ordering of points in the data set [or cell number cellnr].

Make rods

Anchor
mak-rod
mak-rod

Anchor
Make-rods
Make-rods

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rod workspacename

...

Replace scalar data

Anchor
mak-rsc
mak-rsc

Anchor
Replace-scalar-data
Replace-scalar-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rsc workspacename

...

Reverse cell ordering or normals direction

Anchor
mak-rve
mak-rve

Anchor
Reverse-cell-ordering-or-normals-direction
Reverse-cell-ordering-or-normals-direction

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak rve

...

Make scalar data from z values

Anchor
mak-sca
mak-sca

Anchor
Make-scalar-data-from-z-values
Make-scalar-data-from-z-values

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak sca [sta start step]

...

Make sequence numbers in data set

Anchor
mak-seq
mak-seq

Anchor
Make-sequence-numbers-in-data-set
Make-sequence-numbers-in-data-set

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak seq [x | y | z] [start stop]

...

Make shaded areas

Anchor
mak-sha
mak-sha

Anchor
Make-shaded-areas
Make-shaded-areas

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak sha

...

Make sorted and connected polyline

Anchor
mak-sortpl
mak-sortpl

Anchor
Make-sorted-and-connected-polyline
Make-sorted-and-connected-polyline

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak sortpl [tol tolerance [3d] ]

...

Make scalar data to points

Anchor
mak-spo
mak-spo

Anchor
Make-scalar-data-to-points
Make-scalar-data-to-points

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spo

...

Make structured points to polydata triangles

Anchor
mak-spts
mak-spts

Anchor
Make-structured-points-to-polydata-triangles
Make-structured-points-to-polydata-triangles

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spts [tri | tris] [nx ny]

...

Make a single point

Anchor
mak-spt
mak-spt

Anchor
Make-a-single-point
Make-a-single-point

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spt number

...

Set value for point

Anchor
mak-spv
mak-spv

Anchor
Set-value-for-point
Set-value-for-point

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak spv x | y | z | s number value

...

Make triangle strips

Anchor
mak-strips
mak-strips

Anchor
Make-triangle-strips
Make-triangle-strips

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak strips

...

Make tangent map in the scalar values

Anchor
mak-tan
mak-tan

Anchor
Make-tangent-map-in-the-scalar-values
Make-tangent-map-in-the-scalar-values

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tan

...

Make texture coordinates

Anchor
mak-tex
mak-tex

Anchor
Make-texture-coordinates
Make-texture-coordinates

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tex sphere | cyl | grid | higrid workspacename

...

Make triangles between active data and data in workspace

Anchor
mak-tri
mak-tri

Anchor
Make-triangles-between-active-data-and-data-in-workspace
Make-triangles-between-active-data-and-data-in-workspace

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tri workspacename

...

Make triangle strips between active data and data in workspace

Anchor
mak-tris
mak-tris

Anchor
Make-triangle-strips-between-active-data-and-data-in-workspace
Make-triangle-strips-between-active-data-and-data-in-workspace

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak tris workspacename [sca]

...

Transfere a 3d cube of structured points into an unstructured grid

Anchor
mak-uns
mak-uns

Anchor
Transfere-a-3d-cube-of-structured-points-into-an-unstructured-grid
Transfere-a-3d-cube-of-structured-points-into-an-unstructured-grid

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak uns

...

Make vectors to the cell data

Anchor
mak-vec
mak-vec

Anchor
Make-vectors-to-the-cell-data
Make-vectors-to-the-cell-data

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak vec

...

Make vector array to point array

Anchor
mak-vpo
mak-vpo

Anchor
Make-vector-array-to-point-array
Make-vector-array-to-point-array

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak vpo

...

Make a 3d grid from all layers

Anchor
mak-3dg
mak-3dg

Anchor
Make-a-3d-grid-from-all-layers
Make-a-3d-grid-from-all-layers

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak 3dg

...

Make extra border around a grid

Anchor
mak-xbo
mak-xbo

Anchor
Make-extra-border-around-a-grid
Make-extra-border-around-a-grid

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

mak xbo [all]

...