QAD - COMPLEMENTO OU PLUGIN - TUTORIAL

951 views
Skip to first unread message

Valdinei Gonçalves

unread,
Sep 19, 2016, 2:24:26 PM9/19/16
to qgisbrasil
Este complemento QAD é excelente para quem tem conhecimento do auto cad, pois tem as mesmas ferramentas de desenho, precisão e dimensionamento do auto cad.
Ideal para projetos de loteamentos, divisão de terrenos e outros.
O detalhe é que para usá-lo estou com dificuldades por não ter o TUTORIAL ou vídeo sobre ele.
Recursos simples de usar no autocad, como o EXTEND OU DIMENSÕES, não são tão intuitivos no QGIS e estou na dúvida que é um bug do complemento ou não faço o procedimento correto.
Se alguém aí já usa e puder fazer vídeo pequeno, disponibilizar o tutorial ou dica de como aplicar o EXTEND ou OFF SET agradeço.

Valdinei Gonçalves

yjmenezes

unread,
Sep 19, 2016, 3:35:48 PM9/19/16
to qgisbrasil
Valdinei,

EU vi um plugin em Italiano, da para acompanhar.
https://www.youtube.com/watch?v=uAFQRb04HsQ

[]s
julio
cartognu.org

Valdinei Gonçalves

unread,
Sep 23, 2016, 3:45:23 PM9/23/16
to qgisbrasil
Pesquisei e realmente só existe esse vídeos sobre esse complemento QAD. Os erros do meu sempre ocorrem do nada, no mesmo arquivo, ou seja, os comandos não acionados. Só encontrei outra forma de corrigir foi abrindo um outro arquivo em branco!

Valdinei Gonçalves

unread,
Sep 26, 2016, 10:46:03 AM9/26/16
to qgisbrasil
O recurso de DIMENSÕES não funciona e exibe a seguinte mensagem: "The dimension style "Val" has the textual layer for dimension (1-Linhas_07-09-16) which is not a textual layer.

A textual layer is a vectorial punctual layer having a label and the symbol transparency no more than 10%."


É como se fosse necessário criar uma camada de texto e não vetorial (linhas e polígonos), mas como isso?


Alguem sabe como ativar esse recurso de exibir as dimensões?



Em segunda-feira, 19 de setembro de 2016 16:35:48 UTC-3, yjmenezes escreveu:

Franklin Januário

unread,
Oct 4, 2016, 6:39:14 AM10/4/16
to qgisbrasil
Valdinei,

Você precisa criar uma camada de texto num banco de dados, Postgis por exemplo, baixe o projeto no github, e veja a ajuda na pasta help.

Text layer model for dimensioning:

The main element of a dimension is the text. Its textual layer must have the following fields:

  • a character field to store the dimension text
  • a character field to store the font Of the dimension text
  • a real number field to store the dimension text height (in map unit)
  • a real number field to store text rotation (degree counterclockwise where zero = horizontal to the right)

Optional fields:

  • an integer number field to store the unique ID of the dimension
    This field is required if you want to group the objects of the same dimension and implement the erasing and editing features of an existing dimension. Because it must be a unique value field, actually, it is supported for PostGIS table only where you have to create a serial type not null field which is the primary key of the table. (i.e. “id”). In addition to this you have to create another bigint type field which will be managed by QAD to store the dimension ID (i.e. “dim_id”). Shape files don’t let QAD group objects of the same dimension so, after drawing a dimension, every objects will be independent each one from the other.
  • a character field to store the color of the dimension text
  • a character field to store the dimension style name (required if you want to use the editing features of an existing dimension)
  • a character field (2 characters) to store the dimension style (linear, aligned ...) according to the following scheme:
    "AL" = linear aligned dimension
    "AN" = angular dimension
    "BL" = baseline and continued dimension
    "DI" = diameters of arcs and circles dimension
    "LD" = creates a line that connects annotation to a feature
    "LI" = dimensions using only the horizontal or vertical components of the locations
    "RA" = radial dimension
    "AR" = measure the length along a circle or arc

    (required if you want to use the editing features of an existing dimension)

An SQL example to create a PostGIS table and indexes for dimension text:

CREATE TABLE qad_dimension.dim_text

(

  id serial NOT NULL,

  text character varying(50) NOT NULL,

  font character varying(50) NOT NULL,

  h_text double precision NOT NULL,

  rot double precision NOT NULL,

  color character varying(10) NOT NULL,

  dim_style character varying(50) NOT NULL,

  dim_type character varying(2) NOT NULL,

  geom geometry(Point,3003),

  dim_id bigint NOT NULL,

  CONSTRAINT dim_text_pkey PRIMARY KEY (id)

)

WITH (

  OIDS=FALSE

);

 

CREATE INDEX dim_text_dim_id

  ON qad_dimension.dim_text

  USING btree

  (dim_id);

 

CREATE INDEX sidx_dim_text_geom

  ON qad_dimension.dim_text

  USING gist

  (geom);

 

The textual layer must be defined with labels as follows:

  • The font must be read from a field that stores the font character of the dimension text (tab< Labels>-<Text>)
  • The size must be read by a real number field that stores the dimension text height (in map units, tab <Labels>-<Text>)
  • The rotation must be read by a real number field that stores the dimension text rotation (degree counterclockwise where zero = horizontal to the right), option <Preserve data rotation values> activated, (tab< Labels>-<Placement>)
  • Placement <Around point> with distance = 0 (tab< Labels>-<Placement>)
  • <Show all label for this layer> option enabled (tab< Labels>-<Rendering>)
  • <Show upside-down labels> option with value <always> (tab< Labels>-<Rendering>)
  • <Discourage labels from covering features> option disabled (tab< Labels>-<Rendering>)

Optional settings:

  • The color can be read from a character field that stores the dimension text color (tab< Labels>-<Text>)
Reply all
Reply to author
Forward
0 new messages