PHYSICAL OBJECT PRODUCTION USING A REFINED MODEL

Information

  • Patent Application
  • 20180293791
  • Publication Number
    20180293791
  • Date Filed
    April 03, 2018
    6 years ago
  • Date Published
    October 11, 2018
    6 years ago
Abstract
Techniques of refining a model of a complex surface can include deriving a set of refinement rules based on eigen polyhedra in a plane. Such rules reduce the refinement of a mesh in the plane to a scale and translation of the eigen polyhedron. Such refinement rules may then be applied to a non-uniform mesh in three-dimensional space having an extraordinary point in place of conventional refinement rules used in Catmull-Clark surfaces or NURBS surfaces. When these refinement rules are applied to a non-uniform mesh having an extraordinary point, the limiting surface is G1 at the extraordinary point, i.e., the tangent surfaces of the limiting mesh are continuous at the extraordinary point.
Description
TECHNICAL FIELD

This description relates to generation of surface models of physical objects for manufacture.


BACKGROUND

Some precision manufacturing technologies use mathematical models of complex surfaces to represent manufacturable objects. Such models include Catmull-Clark surfaces and non-uniform rational B-spline (NURBS) surfaces. Such a model takes the form of a polyhedral mesh that is a level of approximation to a continuous representation of a manufacturable object. The model may be refined from a relatively coarse mesh to a finer mesh in a recursive fashion until a level of smoothness has been achieved. Conventional approaches to refining a model of a complex surface include defining refinement rules for the control points of a patch region of a mesh: a vertex, edge points that lie on edges of the mesh connecting control points, and face points that lie in the center of faces of the mesh.


SUMMARY

In one general aspect, a method can include receiving, by processing circuitry configured to generate a surface model representing an object for manufacture, spatial mesh data representing a spatial mesh, the spatial mesh including a vertex of the spatial mesh and a plurality of edges, the vertex being an extraordinary control point of the spatial mesh, each of the plurality of edges being disposed between the vertex and a respective, adjacent control point of the spatial mesh, the vertex having a valence number with respect to the plurality of edges. The method can also include generating, by the processing circuitry, eigen polyhedron data representing a plane mesh including an initial vertex in a plane and a plurality of initial edge points in the plane, the plurality of initial edge points being arranged in the plane with respect to the initial vertex based on the valence number. The method can further include generating, by the processing circuitry, scale data representing a scale factor based on the valence, the plane mesh being configured to scale in size with respect to the initial vertex in the plane by the scale factor after a plane mesh refinement operation. The method can also include generating, by the processing circuitry, refinement matrix data representing a refinement matrix based on the eigen polyhedron data, the eigen polyhedron data being eigenvectors of the refinement matrix data, the scale factor being an eigenvalue of the refinement matrix corresponding to at least one of the eigenvectors. The method can also include performing, by the processing circuitry, a spatial mesh refinement operation on the mesh data to produce refined mesh data, the spatial mesh refinement operation being based on the refinement matrix data, the refined mesh data representing a refined mesh and providing a surface model that has continuous tangent planes in the neighborhood of a vertex of the refined spatial mesh.


The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram that illustrates an example electronic environment in which improved techniques described herein may be implemented.



FIG. 2A is a diagram illustrating an example nonuniform spatial mesh having an extraordinary point.



FIG. 2B is a diagram illustrating an example spatial mesh for a Catmull-Clark B-spline surface having an extraordinary point.



FIG. 2C is a diagram illustrating an example spatial mesh for a non-uniform rational B-spline (NURBS) surface.



FIG. 3A is a diagram illustrating an example scaling of an eigen polyhedron as part of a plane mesh refinement operation to produce a scaled eigen polyhedron.



FIG. 3B is a diagram illustrating an example translation of the scaled eigen polyhedron as part of the plane mesh refinement operation to produce a refined plane mesh.



FIG. 4A is a diagram illustrating an example eigen polyhedron used to determine refinement rules for a Catmull-Clark B-spline surface having an extraordinary point with a valence number equal to 3.



FIG. 4B is a diagram illustrating an example eigen polyhedron used to determine refinement rules for a Catmull-Clark B-spline surface having an extraordinary point with a valence number equal to 5.



FIG. 5 is a diagram illustrating an example eigen polyhedron used to determine refinement rules for a NURBS surface.



FIG. 6 is a diagram illustrating an example eigen polyhedron having different knot intervals corresponding to different spoke edges.



FIG. 7A is a diagram illustrating an example refinement operation with respect to a vertex of an eigen polyhedron.



FIG. 7B is a diagram illustrating an example refinement operation with respect to a face point of an eigen polyhedron.



FIG. 7C is a diagram illustrating an example refinement operation with respect to an edge point of an eigen polyhedron.



FIG. 8 is a flow chart that illustrates an example method of implementing the improved techniques as shown in the electronic environment in FIG. 1.



FIG. 9A is a diagram illustrating an example manufacturable object that is not G1 at an extraordinary control point.



FIG. 9B is a diagram illustrating the example manufacturable object that is G1 at the extraordinary control point.





DETAILED DESCRIPTION

The above-described conventional approaches to refining a model of a complex surface may result in surface models with undesirable features. For example, refinement rules used in refining non-uniform Catmull-Clark and NURBS surfaces may result in surface tangent discontinuities at extraordinary vertices of the mesh (i.e., vertices having a valence number not equal to four, or having less than or greater than four adjacent edge points). Such surface tangent discontinuities introduce artifacts such as cusps into a surface model that distort the object represented by the surface model.


In accordance with the implementations described herein and in contrast to at least some of the conventional approaches to refining a model of a complex surface, improved techniques of refining a model of a complex surface can include deriving a set of refinement rules based on eigen polyhedra in a plane. Such rules reduce the refinement of a mesh in the plane to a scale and translation of the eigen polyhedron. Such refinement rules may then be applied to a non-uniform mesh in three-dimensional space having an extraordinary point in place of conventional refinement rules used in Catmull-Clark surfaces or NURBS surfaces. When these refinement rules are applied to a non-uniform mesh having an extraordinary point, the limiting surface is G1 at the extraordinary point, i.e., the tangent surfaces of the limiting mesh are continuous at the extraordinary point.



FIG. 1 is a diagram that illustrates an example electronic environment 100 (e.g., device or set of devices) in which the above-described improved techniques may be implemented. As shown, in FIG. 1, the electronic environment 100 includes a computer 120 and a display 190.


The computer 120 is configured to generate a surface model representing an object for manufacture. The computer 120 includes a network interface 122, one or more processing units 124, memory 126, and a display interface 128. The set of processing units 124 and the memory 126 together form control circuitry, which is configured and arranged to perform various methods and functions as described herein.


In some embodiments, one or more of the components of the computer 120 can be, or can include processors (e.g., processing units 124) configured to process instructions stored in the memory 126. Examples of such instructions as depicted in FIG. 1 include a spatial mesh data acquisition manager 130, an eigen polyhedron manager 140, refinement matrix manager 150, and a refinement operation manager 160. Further, as illustrated in FIG. 1, the memory 126 is configured to store various data, which is described with respect to the respective managers that use such data.


The spatial mesh data acquisition manager 130 is configured to receive spatial mesh data 132 from any source of such data. In some implementations, the spatial mesh data acquisition manager 130 may be implemented as part of a software package used generally to model surfaces of manufacturable objects, such as a computer-aided design (CAD) program. In some implementations, the spatial mesh data acquisition manager 130 is configured to acquire the spatial mesh data 132 over the network interface 122 from an external application.


The spatial mesh data 132 includes three-dimensional point, edge, and face data that defines a spatial mesh. For the discussion to follow, it is assumed that the spatial mesh data 132 has been refined so that the discussion is focused on the point data. Such point data includes edge point data 133, face point data 134, and vertex data 135. For example, when the refined spatial mesh defined by the spatial mesh data 132 includes an extraordinary control point, then the vertex data 135 represents, as the extraordinary control point, a vertex of the spatial mesh. Moreover, the edge point data 133 represents edge points adjacent to the vertex that lie on edges between adjacent control points of the spatial mesh that are not extraordinary control points. The face point data 134 represents face points adjacent to the vertex that lie on faces defined by the edges on which the edge points lie.


The spatial mesh data 132 also includes valence data 136 representing a valence number of the vertex. In the following discussion and hereinafter, it is assumed that each face of the spatial mesh representing the object has four edges. In this case, the vertex, being an extraordinary point, has a valence number not equal to four (e.g., equal to three, five, six, and so on). In some implementations, each face of a spatial mesh represented by the spatial mesh data 132 has some number other than four edges. In that case, then an extraordinary point would have a valence not equal to that number.


The spatial mesh data 132 further includes knot interval data 137 representing knot intervals between the points of the spatial mesh. A knot interval is equal to the difference between two adjacent knots in a knot sequence of a B-spline surface. Accordingly, a knot interval is distance between points in a mesh.



FIG. 2A is a diagram illustrating an example spatial mesh 200 having a valence n vertex undergoing a refinement operation. The filled circles represent points in three-dimensional space of a spatial mesh 200 at refinement iteration k, while the open circles represent points in three-dimensional space of the spatial mesh 200 at refinement iteration k+1. As shown in FIG. 2A, the vertex at iteration k is denoted Vk and at iteration k+1 is denoted Vk+1. The n adjacent edge points at refinement iteration k are denoted Eik and the n adjacent face points at refinement iteration k are denoted Fik, with the subscript i=0, 1, . . . , n−1. The subscripts are modulo n.


The knot intervals between the various points of the spatial mesh 200 are denoted in FIG. 2A as follows: di=|VkEik|, {tilde over (d)}i=|FikEi+1k|, di=|Fi−1kEi−1k|. Similar knot intervals (e.g., ei, {tilde over (e)}i, ēi) between other points in the spatial mesh 200 are similarly denoted. In a general, non-uniform mesh, these knot intervals may be different. In some meshes such as a Catmull-Clark mesh, the knot intervals may all be equal. For the purposes of the discussion to follow, it is assumed that di={tilde over (d)}i=di and ei={tilde over (e)}ii (i.e., the knot intervals on opposing edges of every face are equal).


The spatial mesh 200 may be represented by a (2n+1)×3 spatial mesh matrix Pk=[F0k, . . . , Fn−1k, E0k, . . . , En−1k, Vk]T. Because a refinement operation is linear in the coordinates of the points of the spatial mesh 200, such a refinement operation may be expressed mathematically as a matrix operation as follows:






P
k+1
=M
k
P
k,  (1)


where Mk is a (2n+1)×(2n+1) refinement matrix defining a refinement operation for the kth refinement iteration. In some arrangements—and for the purposes of the discussion to follow—the refinement matrix is independent of k and the refinement operation may be written as






P
k+1
=MP
k,  (2)


where M is the (2n+1)×(2n+1) stationary refinement matrix, which will herein be referred to as the refinement matrix. Details of conventional refinement matrices are discussed in some detail with respect to FIGS. 2B and 2C.



FIG. 2B is a diagram illustrating refinement of an example spatial mesh 210 for a Catmull-Clark B-spline surface having an extraordinary point. For the spatial mesh 210, the vertex Vk is an extraordinary point with a valence number equal to five. Further, all knot intervals all equal. In some implementations, conventional refinement rules for a Catmull-Clark B-spline surface with a vertex having a valence number equal to n are as follows:











4


F
i

k
+
1



=


V
k

+

E
i
k

+

E

i
+
1

k

+

F
i
k



,




(
3
)








4






E
i

k
+
1



=


V
k

+

F

i
-
1


k
+
1


+

F
i

k
+
1


+

E
i
k



,




(
4
)








n
2



V

k
+
1



=



n


(

n
-
3

)




V
k


+




i
=
0


n
-
1









(


V
k

+

E
i
k

+

F
i

k
+
1



)

.







(
5
)









    • By substituting Eqs. (3) and (4) into Eq. (5), one may construct the refinement matrix M.






FIG. 2C is a diagram illustrating a conventional refinement of an example spatial mesh 220 for a non-uniform rational B-spline (NURBS) surface. Assuming that di=ei, etc., for i=0, 1, 2, 3, in some implementations, conventional refinement rules for the NURBS surface shown in FIG. 2C are as follows:











4


(


2






d
i


+

d

i
+
2



)



(


d

i
-
1


+

2






d

i
+
1




)



F
i

k
+
1



=


9






d
i



d

i
+
1




V
k


+


(


d

i
+
1


+

2






d

i
-
1




)



(


d
i

+

2






d

i
+
2




)



F
i
k


+

3







d

i
+
1




(


d
i

+

2






d

i
+
2




)




E
i
k


+

3







d
i



(


d

i
+
1


+

2






d

i
-
1




)




E

i
+
1

k




,




(
6
)













2


(


d

i
+
1


+

d

i
-
1



)



E
i

k
+
1



=



d

i
-
1




F
i

k
+
1



+


d

i
+
1




F

i
-
1


k
+
1



+


(


d

i
+
1


+

d

i
-
1



)



H
i
k




,





(
7
)








4


(


d
0

+

d
2


)



(


d
1

+

d
3


)



V

k
+
1



=



(


d
0

+

d
2


)



(


d
1

+

d
3


)



V
k


+




i
=
0

3







(



h
i



H
i
k


+


f
i



F
i

k
+
1




)




,


where






f
i


=


d

i
-
1




d

i
+
2




,


h
i

=


d

i
+
2




(


d

i
+
1


+

d

i
-
1



)



,
and




(
8
)












H
i
k

=




3






d
i



V
k


+


(


d
i

+

2






d

i
+
2




)



E
i
k




2


(


2






d
i


+

d

i
+
2



)



.






(
9
)







The conventional refinement rules summarized above for the spatial meshes 210 and 220 for Catmull-Clark B-spline surfaces in Eqs. (3)-(5) and for NURBS surfaces in Eqs. (6)-(9) may lead to discontinuities in the tangent at the vertex of each spatial mesh 210 and 220. The discussion that follows is directed to the generation of refinement rules for Catmull-Clark B-spline surfaces and NURBS surfaces having vertices that are extraordinary points. The generation of such refinement rules involves defining eigen polyhedra that have simple refinement behaviors which can be employed in refining the spatial meshes shown in FIGS. 2A-2C.


Returning to FIG. 1, the eigen polyhedron manager 140 is configured to generate eigen polyhedron data 142 representing a plane mesh. As is demonstrated with respect to FIGS. 3A, 3B, 4, 5A, 5B, 6, and 7A-C, the eigen polyhedron manager 140 generates the eigen polyhedron data 142 based on the valence data 136 and the knot interval data 137.


The eigen polyhedron data 142 includes two-dimensional point data that defines an eigen polyhedron, i.e., a plane mesh. The two-dimensional point data includes initial edge point data 143, initial face point data 144, and initial vertex data 145. The initial vertex data 145 represents an initial vertex in a plane that serves as an origin. The initial edge point data 143 represents edge points in the plane adjacent to the vertex. The initial face point data 144 represents face points adjacent to the vertex and the initial edge points. The initial edge point data 143, initial face point data 144, and initial vertex data 145 form new edge points, face points, and vertices upon a refinement operation.


The refinement operation for the plane mesh takes the simple form of a scale and a translation. Accordingly, the eigen polyhedron data 142 also includes scale data 146 representing the scale and translation data 147 representing the translation. Denote the kth iteration of the eigen polyhedron as a (2n+1)×2 matrix {circumflex over (P)}k=[{circumflex over (F)}0k, . . . , {circumflex over (F)}n−1k, Ê0k, . . . , Ên−1k, {circumflex over (V)}k]T, where {circumflex over (F)}ik is a face point in the plane, Êik is an edge point in the plane, and {circumflex over (V)}k is the vertex in the plane, with the subscript i=0, 1, n−1, and {circumflex over (V)}0=(0,0) is taken to be the origin of the plane. The subscripts are modulo n.


The eigen polyhedron {circumflex over (P)}0 is defined with respect to a refinement matrix M as follows:






{circumflex over (P)}
1
=M{circumflex over (P)}
0
=λ{circumflex over (P)}
0
+T
0
I,  (10)

    • where λ is the scale factor, T0ϵcustom-character2 is a translation vector, and I is a (2n+1)×1 vector of ones. Because {circumflex over (V)}0=(0,0), the translation vector is T0={circumflex over (V)}1. By repeating this refinement operation k times and using the fact that each of the rows of M sum to one and, consequently, M(T0I)=T0I, the kth iteration of the eigen polyhedron is






{circumflex over (P)}
kk{circumflex over (P)}0−{circumflex over (V)}kI  (11)

    • where {circumflex over (V)}k=(1+λ+λ2+ . . . +λk−1){circumflex over (V)}1. The transformation in Eq. (11) may be rewritten into the form






{circumflex over (P)}
k+1
=M{circumflex over (P)}
k=[κ({circumflex over (P)}k−{circumflex over (V)}kI)+{circumflex over (V)}kI]+TkI,  (12)

    • where Tk={circumflex over (V)}k+1−{circumflex over (V)}k. The relationship described in Eq. (12) is described with respect to FIGS. 3A and 3B.



FIG. 3A is a diagram illustrating an example scaling of an eigen polyhedron 300 as part of refinement operation described in Eq. (12) to produce a scaled eigen polyhedron. As shown in FIG. 3A, the kth iteration of the points of the eigen polyhedron has filled circles and the next iteration of the points of the eigen polyhedron has open circles. The scaling is performed with respect to the vertex {circumflex over (V)}k. That is, each iteration of the eigen polyhedron is initially shifted to the origin, scaled, and then shifted back to {circumflex over (V)}k. The result is that the eigen polyhedron preserves its shape upon the refinement.



FIG. 3B is a diagram illustrating an example translation of an eigen polyhedron 310 as part of refinement operation described in Eq. (12) to produce a refined eigen polyhedron. The translation is, as described above, given by Tk={circumflex over (V)}k+1−{circumflex over (V)}k. As shown in FIG. 3B, the kth iteration of the points of the eigen polyhedron has grayed-out circles, the points of the scaled plane mesh have filled circles, and the points of the translated plane mesh, i.e., the refined eigen polyhedron, has open circles.


Eq. (10) may be rewritten in the following form:










M
(



P
^

0

-




V
^

1


1
-
λ



I


)

=


λ
(



P
^

0

-




V
^

1


1
-
λ



I


)

.





(
13
)









    • That is, the quantity in the parenthesis is a pair of eigenvectors of the refinement matrix M and the scale factor λ is an eigenvalue of M to which at least one eigenvector corresponds. In conventional situations, one would know the refinement matrix M and would then use standard techniques to determine its eigenvalues and corresponding eigenvectors.





In this situation, the refinement matrix M is to be determined from the eigen polyhedron {circumflex over (P)}0 and the scale factor λ. This is an inverse eigenvalue problem in which a matrix is to be determined from its eigenvalues and corresponding eigenvectors. In the discussion to follow, a single expression for the initial eigen polyhedron {circumflex over (P)}0, scale factor λ, and translation {circumflex over (V)}1 will be produced for each of the Catmull-Clark B-spline and NURBS surfaces. From this single expression, many refinement matrices may be deduced that have this same eigenvalue and eigenvector. Additional properties of the refinement matrix M thus may be provided to produce new refinement rules in each case. By specifying refinement rules based on nondeforming transformations of the eigen polyhedron, it is expected that the limiting polyhedron to which the refinement rules are applied will have desired smoothness properties in the neighborhood of an extraordinary point.


The eigen polyhedron is defined here explicitly for a Catmull-Clark B-spline surface and a NURBS surface. In one example, FIG. 4A is a diagram illustrating an example eigen polyhedron 400 used to determine refinement rules for a Catmull-Clark B-spline surface having an extraordinary point with a valence number equal to 3. In another example, FIG. 4B is a diagram illustrating an example eigen polyhedron 410 used to determine refinement rules for a Catmull-Clark B-spline surface having an extraordinary point with a valence number equal to 5. The knot intervals of a Catmull-Clark B-spline surface are equal and, as shown in FIGS. 4A and 4B, the spoke lengths between the initial vertices and the respective initial edge points of the plane meshes are equal.


In some implementations, a Catmull-Clark eigen polyhedron based on a Catmull-Clark B-spline surface having an extraordinary point with a valence number equal to n is defined as follows:












V
^

0

=

(

0
,
0

)


,




(
14
)









E
^

i
0

=

(


cos


(


2





π





i

n

)


,

sin


(


2





π





i

n

)



)


,




(
15
)









F
^

i
0

=

γ


(



E
^

i
0

+


E
^


i
+
1

0


)



,
where




(
16
)







γ
=

4


c
n

+
1
+



(


c
n

+
1

)



(


c
n

+
9

)






,




(
17
)









    • where










c
n

=


cos


(


2





π

n

)


.





In this case, T0=(0,0) and the scale factor is given by









λ
=



1
+
γ


4





γ


=




c
n

+
5
+



(


c
n

+
1

)



(


c
n

+
9

)




16

.






(
18
)







An eigen polyhedron 500 for the NURBS surface is shown in FIG. 5. The NURBS surface has spokes aligned with horizontal and vertical axes and have different lengths resulting from different knot intervals. In this case, the valence number is four, and in some implementations, the eigen polyhedron may be defined as follows:












V
^

0

=

(

0
,
0

)


,




(
19
)









E
^

i
0

=




2


d
i


+

d

i
+
2



3



(


cos


(


π





i

2

)


,

sin


(


π





i

2

)



)



,




(
20
)








F
^

i
0

=



E
^

i
0

+



E
^


i
+
1

0

.






(
21
)









    • Because n=4, λ=½. Further, the translation may be deduced by substituting Eqs. (19)-(21) into Eq. (8):









T
0=⅙(d0−d2,d1−d3).  (22)


A more general case in which an eigen polyhedron having both a vertex having a valence number not equal to four and unequal knot intervals is illustrated in FIG. 6. The following prescription is not unique but does reduce to the Catmull-Clark eigen polyhedron in Eqs. (14)-(18) when the knot intervals are all the same or the NURBS eigen polyhedron when the valence number is four.


As shown in FIG. 6, the eigen polyhedron 600 has a vertex {circumflex over (V)}0 at the origin and a valence number of five. The spoke {circumflex over (V)}0Ê00 is aligned with the horizontal axis and has length custom-character0. The spoke {circumflex over (V)}0Ei0 has length custom-characteri and has a spoke angle ∠Êi0{circumflex over (V)}0Ê00i. To define the eigen polyhedron 600, it is assumed that the spoke angles are all equal. Accordingly,











θ
i

=


2





π

n


,



i

=
0

,
1
,





,

n
-
1.





(
23
)









    • The spoke lengths custom-characteri are defined as being equal to















i

=


1
3



(


d
i

+

d
i
-

+

d
i
+


)



,
where




(
24
)








d
i
+

=




j
=
i


i
+
n
+
1









d
i


cos






θ

i
,
j




H


(

θ

i
,
j


)





,




(
25
)








d
i
-

=

-




j
=
i


i
+
n
+
1









d
i


cos






θ

i
,
j






,

H


(

-

θ

i
,
j



)






(
26
)









    • where H(x)=1 when x>0 and 0 when x<0, and where













θ

i
,
j


=





k
=
i


j
-
1








θ
k


=




(

j
-
i

)


2





π

n

.






(
27
)









    • The edge points may then be defined as located at the coordinates









Ë
i
0=custom-characteri(cos θ0,i,sin θ0,i).  (28)

    • The face points may be generated using Eq. (16).


Returning to FIG. 1, the refinement matrix manager 150 is configured to generate refinement matrix data 152 based on the eigen polyhedron data 142 such as that specified in Eqs. (14)-(18) for a Catmull-Clark surface or Eqs. (19)-(22) for a NURBS surface. The refinement matrix data 152 represents the refinement matrix M as constructed from the eigen polyhedron data 142.


As stated above, the refinement matrix M is not uniquely determined from the eigen polyhedron data 142. The refinement matrix M satisfies additional properties in order for it to be generated by the refinement matrix manager 150. One possible way to determine M is to note that (1) because the sum of the rows of M equal one, the largest eigenvalue of M is equal to one and (2) the second and third eigenvalues are equal and are both equal to the scale factor (e.g., in Eq. (18)). When the condition (2) is satisfied, then the limit surface is G1 at an extraordinary point.


It is further preferable that the refinement matrix M satisfy Eq. (10), i.e., that the eigen polyhedron is in fact an eigenfunction corresponding to one of the equal eigenvalues. Moreover, if the knot intervals are all equal, the refinement matrix M should reproduce the refinement rules in Eqs. (3)-(5). Also, if the valence number is four, the refinement matrix M should reproduce the refinement rules in Eqs. (6)-(9). A generation of the refinement matrix M from the eigen polyhedron in Eqs. (23)-(28) is detailed in the discussion to follow with respect to FIGS. 7A-7C.



FIG. 7A is a diagram illustrating an example vertex generation using an eigen polyhedron 700. The eigen polyhedron 700 shown in FIG. 7A has an initial vertex {circumflex over (V)}0, initial edge points Êi0, initial face points {circumflex over (F)}i0, and a vertex after refinement, i.e., the translation {circumflex over (V)}1. As in FIG. 6, the valence number of the vertex is n and the knot intervals are different. The eigenvalue, or scale factor, λ is as defined in Eq. (18). An example vertex generation is stated as follows:
















n





i
=
1

n








(


m
i

+

f
i


)




V
^

1




=

3





i
=
1

n







(



m
i



H
i
0


+


f
i



G
i
0



)




,
where





(
29
)













H
i
0

=



q
i




E
^

i
0


+


(

1
-

q
i


)



V
0




,





(
30
)








G
i
0

=




q
i



(

1
-

q

i
+
1



)





E
^

i
0


+



q

i
+
1




(

1
-

q
i


)





E
^


i
+
1

0


+


q
i



q

i
+
1





F
^

i
0


+


(

1
-

q
i


)



(

1
-

q

i
+
1



)




F
^


i
+
1

0




,




(
31
)













q
i

=



d

i
-
2


+

d

i
+
2


+

d
i




d

i
-
2


+

d

i
+
2


+

4






d
i





,





(
32
)













f
i

=





j
=
1

,

j

i

,

i
+
1


n







d
i
+



,





(
33
)












m
i

=


f
i

+


f

i
-
1


.







(
34
)









    • The translation is then given by Eq. (29).






FIG. 7B is a diagram illustrating an example refinement operation with respect to a face point of an eigen polyhedron. In principle, the face point {circumflex over (F)}i1 of the refined plane mesh may be computed using Eq. (10) as {circumflex over (F)}i1={circumflex over (V)}1+λ{circumflex over (F)}i0. Nevertheless, for the purposes of generating the refinement matrix M, an equation for the face point {circumflex over (F)}i1 may be produced in terms of the four initial vertices surrounding that face point. That equation is as follows:






{circumflex over (F)}
i
1=(1−αi,1)(1−αi,2){circumflex over (V)}0i,1(1−αi,2)Êi0+(1−αi,1i,2Êi+10i,1αi,2{circumflex over (F)}i0.  (35)

    • Eq. (35) represents a pair of bilinear equations for the coordinates of the refined face point in terms of unknown parameters αi,1 and αi,2. In some implementations, these parameters may be determined as follows. Let v1={circumflex over (F)}i1−{circumflex over (V)}0, v2={circumflex over (F)}i1−Êi0, v3={circumflex over (F)}i1−{circumflex over (F)}i0, and v4={circumflex over (F)}i1−Êi+10. Further, let Si=½vivi+1 and Ti=½vi−1vi+1. Then











α

i
,
1


=


2






S
4




2






S
4


-

T
1

+

T
2

+

D




,




(
36
)








α

i
,
2


=


2






S
1




2






S
1


-

T
1

+

T
2

+

D




,
where




(
37
)






D
=


T
1
2

+

T
2
2

+

2






S
1



S
3


+

2






S
2




S
4

.







(
38
)







In some implementations, the refinement matrix manager 150 uses a numerical root-finder to generate the values of αi,1 and αi,2 and thus the entries of the refinement matrix M corresponding to a face point refinement rule.



FIG. 7C is a diagram illustrating an example refinement operation with respect to an edge point of an eigen polyhedron. In principle, the edge point Êi1 of the refined plane mesh may be computed using Eq. (10) as Êi1={circumflex over (V)}1+λÊi0. Nevertheless, for the purposes of generating the refinement matrix M, an equation for the edge point Êi1 may be produced in terms of the six initial vertices of the two faces corresponding to the edge as shown in FIG. 7C. That equation is as follows. First denote






P
i,1=(1−αi−1,1){circumflex over (V)}0i−1,1Êi−10,  (39)






P
i,2=(1−αi,2){circumflex over (V)}0i,2Êi+10,  (40)






P
i,3=(1−αi−1,1)Êi0i−1,1{circumflex over (F)}i−10,  (41)






P
i,4=(1−αi,2)Êi0i,2{circumflex over (F)}i0.  (42)


The edge point is then generated as follows:












E
^

i
1

=



(

1
-

β

i
,
2



)



(




1
-

β

i
,
1



2



P

i
,
1



+



β

i
,
1


2



P

i
,
2



+


1
2




V
^

0



)


+


β

i
,
2




(




1
-

β

i
,
1



2



P

i
,
3



+



β

i
,
1


2



P

i
,
4



+


1
2




E
^

i
0



)




,




(
43
)







where βi,1 and βi,2 are unknown parameters. In some implementations, the refinement matrix manager 150 uses the same numerical root-finder as that used with respect to the face point generation to determine the parameters βi,1 and βi,2, as Eq. (43) is a pair of bilinear equations having the same form as that in Eq. (35).


Returning to FIG. 1, the refinement operation manager 160 is configured to apply the refinement matrix represented by the refinement matrix data 152 to the spatial mesh data 132 to produce refined mesh data 162 representing a refined spatial mesh. The application of refinement rules using the refinement matrix data 152 that was derived using an eigen polyhedron in a plane (i.e., a two-dimensional plane mesh) to a three-dimensional spatial mesh is not trivial. Nevertheless, excellent spatial mesh refinement has resulted in such an application, notably limiting surfaces that are G1 in the neighborhood and at an extraordinary point.


In some implementations, the generation of the refinement matrix M assumes that extraordinary points of a spatial mesh are separated by at least one face. In some implementations, when extraordinary points of a spatial mesh are in adjacent faces, then the refinement matrix manager 150 is configured to perform an initial refinement operation using any formulation of the refinement rules described above.


The components (e.g., modules, processing units 124) of the computer 120 can be configured to operate based on one or more platforms (e.g., one or more similar or different platforms) that can include one or more types of hardware, software, firmware, operating systems, runtime libraries, and/or so forth. In some implementations, the components of the computer 120 can be configured to operate within a cluster of devices (e.g., a server farm). In such an implementation, the functionality and processing of the components of the computer 120 can be distributed to several devices of the cluster of devices.


The components of the computer 120 can be, or can include, any type of hardware and/or software configured to process attributes. In some implementations, one or more portions of the components shown in the components of the computer 120 in FIG. 1 can be, or can include, a hardware-based module (e.g., a digital signal processor (DSP), a field programmable gate array (FPGA), a memory), a firmware module, and/or a software-based module (e.g., a module of computer code, a set of computer-readable instructions that can be executed at a computer). For example, in some implementations, one or more portions of the components of the computer 120 can be, or can include, a software module configured for execution by at least one processor (not shown). In some implementations, the functionality of the components can be included in different modules and/or different components than those shown in FIG. 1.


In some embodiments, one or more of the components of the computer 120 can be, or can include, processors configured to process instructions stored in a memory. For example, a spatial mesh data acquisition manager 130 (and/or a portion thereof), a eigen polyhedron manager 140 (and/or a portion thereof), a refinement matrix manager 150 (and/or a portion thereof), and a refinement operation manager 160 (and/or a portion thereof can be a combination of a processor and a memory configured to execute instructions related to a process to implement one or more functions.


In some implementations, the memory 126 can be any type of memory such as a random-access memory, a disk drive memory, flash memory, and/or so forth. In some implementations, the memory 126 can be implemented as more than one memory component (e.g., more than one RAM component or disk drive memory) associated with the components of the computer 120. In some implementations, the memory 126 can be a database memory. In some implementations, the memory 126 can be, or can include, a non-local memory. For example, the memory 126 can be, or can include, a memory shared by multiple devices (not shown). In some implementations, the memory 126 can be associated with a server device (not shown) within a network and configured to serve the components of the editing computer 120. As illustrated in FIG. 1, the memory 126 is configured to store various data, including spatial mesh data 132, eigen polyhedron data 142, refinement matrix data 152, and refined mesh data 162.


In some implementations, the network interface 122 includes, for example, Ethernet adaptors, Token Ring adaptors, and the like, for converting electronic and/or optical signals received from a network to electronic form for use by the editing computer 120. The set of processing units 124 include one or more processing chips and/or assemblies. The memory 126 includes both volatile memory (e.g., RAM) and non-volatile memory, such as one or more ROMs, disk drives, solid state drives, and the like.



FIG. 8 is a flow chart depicting an example method 800 of displaying user-specified drawings on a display device. The method 800 may be performed by software constructs described in connection with FIG. 1, which reside in memory 126 of the computer 120 and are run by the set of processing units 124.


At 802, the spatial mesh data acquisition manager 130 receives spatial mesh data 132 representing a spatial mesh. The spatial mesh data 132 includes vertex data 135 representing a vertex of the spatial mesh and a plurality of edges. In some implementations, the spatial mesh data 132 also includes a plurality of faces. The vertex is an extraordinary control point of a surface model of the object. Upon refinement, the spatial mesh data 132 includes edge point data 133 representing a plurality of edge points. Each of the plurality of edge points are disposed on an edge between the vertex and a respective, adjacent control point of the surface model. The spatial mesh data further includes valence data 136 representing a valence number of the vertex with respect to the plurality of edge points.


At 804, the eigen polyhedron manager 140 generates eigen polyhedron data 142 representing a plane mesh. The eigen polyhedron data 142 includes vertex data 145 representing an initial vertex in a plane and edge point data 143 representing a plurality of initial edge points in the plane. The plurality of initial edge points are arranged in the plane with respect to the initial vertex based on the valence number.


At 806, the eigen polyhedron manager 140 generates scale data 146 representing a scale factor based on the valence number. The plane mesh (i.e., the eigen polyhedron) is configured to scale in size with respect to the initial vertex in the plane by the scale factor after a plane mesh refinement operation.


At 808, the refinement matrix manager 150 generates refinement matrix data 152 representing a refinement matrix based on the eigen polyhedron data. The eigen polyhedron data are eigenvectors of the refinement matrix data. The scale factor is an eigenvalue of the refinement matrix corresponding to at least one of the eigenvectors.


At 810, the refinement operation manager 160 performs a spatial mesh refinement operation on the spatial mesh data 132 to produce refined mesh data 162. The spatial mesh refinement operation is based on the refinement matrix data 152. The refined mesh data 162 represents a refined mesh and provides a surface model that has continuous tangent planes in the neighborhood of a vertex of the refined spatial mesh. The refined mesh data 162 provides an accurate surface model of the object for manufacture when the surface model has an extraordinary control point.



FIG. 9A is a diagram illustrating an example surface model 900 of a guitar neck that was generated according to the conventional approaches to refining a model of a complex surface. As has been discussed above, the conventional approaches result in a surface tangent discontinuity at an extraordinary point 910 of the limiting surface of the guitar neck 900. Such a discontinuity of the surface tangent at the point 910 may lead to inaccuracies in an actual guitar neck manufactured according to the surface model 900.



FIG. 9B is diagram illustrating an example surface model 920 of the guitar neck that was generated according to the improved techniques described herein. In contrast to the surface model 900 that has a surface tangent discontinuity that may result in inaccurate artifacts in a guitar neck manufactured according to the surface model 900, the surface model 920 is G1 at the extraordinary point 930 (i.e., the surface tangent at the point 930 is continuous). Accordingly, a guitar neck manufactured according to the surface model 920 has a smooth surface at the extraordinary point 930 and thus lacks artifacts such a cusps and bumps that are a result of a lack of surface tangent continuities.


A number of embodiments have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the specification.


It will also be understood that when an element is referred to as being on, connected to, electrically connected to, coupled to, or electrically coupled to another element, it may be directly on, connected or coupled to the other element, or one or more intervening elements may be present. In contrast, when an element is referred to as being directly on, directly connected to or directly coupled to another element, there are no intervening elements present. Although the terms directly on, directly connected to, or directly coupled to may not be used throughout the detailed description, elements that are shown as being directly on, directly connected or directly coupled can be referred to as such. The claims of the application may be amended to recite exemplary relationships described in the specification or shown in the figures.


While certain features of the described implementations have been illustrated as described herein, many modifications, substitutions, changes and equivalents will now occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the scope of the implementations. It should be understood that they have been presented by way of example only, not limitation, and various changes in form and details may be made. Any portion of the apparatus and/or methods described herein may be combined in any combination, except mutually exclusive combinations. The implementations described herein can include various combinations and/or sub-combinations of the functions, components and/or features of the different implementations described.


In addition, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. In addition, other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Accordingly, other embodiments are within the scope of the following claims.

Claims
  • 1. A method, comprising: receiving, by processing circuitry configured to generate a surface model representing an object for manufacture, spatial mesh data representing a spatial mesh, the spatial mesh including a vertex of the spatial mesh and a plurality of edges, the vertex being an extraordinary control point of the spatial mesh, each of the plurality of edges being disposed between the vertex and a respective, adjacent control point of the spatial mesh, the vertex having a valence number with respect to the plurality of edges;generating, by the processing circuitry, eigen polyhedron data representing a plane mesh including an initial vertex in a plane and a plurality of initial edge points in the plane, the plurality of initial edge points being arranged in the plane with respect to the initial vertex based on the valence number;generating, by the processing circuitry, scale data representing a scale factor based on the valence number, the plane mesh being configured to scale in size with respect to the initial vertex in the plane by the scale factor after a plane mesh refinement operation;generating, by the processing circuitry, refinement matrix data representing a refinement matrix based on the eigen polyhedron data, the eigen polyhedron data being eigenvectors of the refinement matrix data, the scale factor being an eigenvalue of the refinement matrix corresponding to at least one of the eigenvectors; andperforming, by the processing circuitry, a spatial mesh refinement operation on the spatial mesh data to produce refined mesh data, the spatial mesh refinement operation being based on the refinement matrix data, the refined mesh data representing a refined mesh and providing a surface model that has continuous tangent planes in a neighborhood of a vertex of the refined spatial mesh, thereby providing an accurate surface model of the object for manufacture when the surface model has an extraordinary control point.
  • 2. The method of claim 1, wherein the refinement matrix data includes translation vector data representing a translation vector by which the plane mesh is translated after the plane mesh refinement operation.
  • 3. The method of claim 2, wherein the translation vector is equal to a vertex of the refined plane mesh.
  • 4. The method of claim 1, wherein the refinement matrix has at least three eigenvalues arranged in decreasing order of magnitude, second and third eigenvalues of the refinement matrix each being equal to the scale factor.
  • 5. The method of claim 1, wherein the spatial mesh further includes a plurality of faces, each of the plurality of faces including edges connecting control points of the spatial mesh adjacent to the vertex of the spatial mesh; and wherein the plane mesh further includes a plurality of initial face points, each of the initial face points being disposed between a respective initial edge point of the plurality of initial edge points.
  • 6. The method of claim 5, wherein generating the refinement matrix data includes: generating coefficients of a bilinear equation for a vertex of the refined plane mesh, the bilinear equation having terms including the vertex of the plane mesh, the plurality of edge points of the plane mesh and the plurality of face points of the plane mesh.
  • 7. The method of claim 5, wherein generating the refinement matrix data includes: generating coefficients of a bilinear equation for a face point of a plurality of face points of the refined plane mesh, the bilinear equation having terms including a corresponding initial face point of the plurality of initial face points of the plane mesh, adjacent initial edge points of the plurality of initial edge points of the plane mesh, and the initial vertex of the plane mesh.
  • 8. The method of claim 5, wherein generating the refinement matrix data includes: generating coefficients of a bilinear equation for an edge point of a plurality of edge points of the refined plane mesh, the bilinear equation having terms including a corresponding initial edge point and adjacent edge points of the plurality of initial edge points of the plane mesh, a corresponding initial face point and an adjacent initial edge points of the plurality of initial edge points of the plane mesh, and the initial vertex of the plane mesh.
  • 9. The method of claim 1, wherein each of the plurality of edges has a respective knot interval of a plurality of knot intervals from the vertex, at least one of the knot intervals of the plurality of knot intervals being different from another knot intervals of the plurality of knot intervals.
  • 10. The method of claim 9, wherein, in response to the valence number being equal to 4, generating the scale data includes setting the scale factor equal to ½.
  • 11. The method of claim 9, wherein, in response to the valence number being equal to 4 and the plurality of initial edge points of the plane mesh being disposed on one of a horizontal axis and a vertical axis through the initial vertex of the plane mesh, the refinement matrix produces refinement rules for a non-uniform rational B-spline (NURBS) surface model.
  • 12. The method of claim 1, wherein each of the plurality of edges has a length equal to a respective knot interval of a plurality of knot intervals from the vertex, each of the plurality of knot intervals being equal to other knot intervals of the plurality of knot intervals.
  • 13. The method of claim 12, wherein the refinement matrix produces refinement rules for a Catmull-Clark surface model.
  • 14. The method of claim 1, wherein the plurality of initial edge points of the plane mesh are disposed symmetrically about the initial vertex of the plane mesh.
  • 15. A computer program product comprising a nontransitory storage medium, the computer program product including code that, when executed by processing circuitry of a computer configured to generate a surface model representing an object for manufacture, causes the processing circuitry to perform a method, the method comprising: receiving spatial mesh data representing a spatial mesh, the spatial mesh including a vertex of the spatial mesh and a plurality of edges, the vertex being an extraordinary control point of the spatial mesh, each of the plurality of edges being disposed between the vertex and a respective, adjacent control point of the spatial mesh, the vertex having a valence number with respect to the plurality of edges;generating eigen polyhedron data representing a plane mesh including an initial vertex in a plane and a plurality of initial edge points in the plane, the plurality of initial edge points being arranged in the plane with respect to the initial vertex based on the valence number;generating scale data representing a scale factor based on the valence number, the plane mesh being configured to scale in size with respect to the initial vertex in the plane by the scale factor after a plane mesh refinement operation;generating refinement matrix data representing a refinement matrix based on the eigen polyhedron data, the eigen polyhedron data being eigenvectors of the refinement matrix data, the scale factor being an eigenvalue of the refinement matrix corresponding to at least one of the eigenvectors; andperforming a spatial mesh refinement operation on the spatial mesh data to produce refined mesh data, the spatial mesh refinement operation being based on the refinement matrix data, the refined mesh data representing a refined mesh and providing a surface model that has continuous tangent planes in a neighborhood of a vertex of the refined spatial mesh, thereby providing an accurate surface model of the object for manufacture when the surface model has an extraordinary control point.
  • 16. The computer program product of claim 15, wherein the refinement matrix data includes translation vector data representing a translation vector by which the plane mesh is translated after the plane mesh refinement operation.
  • 17. The computer program product of claim 15, wherein the refinement matrix has at least three eigenvalues arranged in decreasing order of magnitude, second and third eigenvalues of the refinement matrix each being equal to the scale factor.
  • 18. The computer program product of claim 15, wherein the spatial mesh further includes a plurality of faces, each of the plurality of faces including edges connecting control points of the spatial mesh adjacent to the vertex of the spatial mesh; and wherein the plane mesh further includes a plurality of initial face points, each of the initial face points being disposed between a respective initial edge point of the plurality of initial edge points.
  • 19. The computer program product of claim 15, wherein each of the plurality of edges has a respective knot interval of a plurality of knot intervals from the vertex, at least one of the knot intervals of the plurality of knot intervals being different from another knot intervals of the plurality of knot intervals.
  • 20. An electronic apparatus configured to generate a surface model representing an object for manufacture, the electronic apparatus comprising: a network interface;a memory; andcontrolling circuitry coupled to the memory, the controlling circuitry being configured to:receive spatial mesh data representing a spatial mesh, the spatial mesh including a vertex of the spatial mesh and a plurality of edges, the vertex being an extraordinary control point of the spatial mesh, each of the plurality of edges being disposed between the vertex and a respective, adjacent control point of the spatial mesh, the vertex having a valence number with respect to the plurality of edges;generate eigen polyhedron data representing a plane mesh including an initial vertex in a plane and a plurality of initial edge points in the plane, the plurality of initial edge points being arranged in the plane with respect to the initial vertex based on the valence number;generate scale data representing a scale factor based on the valence number, the plane mesh being configured to scale in size with respect to the initial vertex in the plane by the scale factor after a plane mesh refinement operation;generate refinement matrix data representing a refinement matrix based on the eigen polyhedron data, the eigen polyhedron data being eigenvectors of the refinement matrix data, the scale factor being an eigenvalue of the refinement matrix corresponding to at least one of the eigenvectors; andperform a spatial mesh refinement operation on the spatial mesh data to produce refined mesh data, the spatial mesh refinement operation being based on the refinement matrix data, the refined mesh data representing a refined mesh and providing a surface model that has continuous tangent planes in a neighborhood of a vertex of the refined spatial mesh, thereby providing an accurate surface model of the object for manufacture when the surface model has an extraordinary control point.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a nonprovisional of, and claims priority to, U.S. Provisional Patent Application No. 62/481,817, filed on Apr. 5, 2017, entitled “PHYSICAL OBJECT PRODUCTION USING A REFINED MODEL,” the disclosure of which are incorporated by reference herein in their entireties.

Provisional Applications (1)
Number Date Country
62481817 Apr 2017 US